Derrick Hammer
|
50051076d9
|
Exit on SIGINT or SIGTERM
|
2022-08-05 00:06:31 -04:00 |
Derrick Hammer
|
1fd1c932ca
|
*Set context to RpcContext and ass type asserts
|
2022-08-05 00:01:03 -04:00 |
Derrick Hammer
|
c95917f789
|
*Add get_methods to the misc chain
|
2022-08-05 00:00:29 -04:00 |
Derrick Hammer
|
ec649d2d93
|
*add validateChain higher order function for RPC validation
|
2022-08-04 23:56:11 -04:00 |
Derrick Hammer
|
383ec64692
|
*Update rpc method list
|
2022-08-04 23:45:09 -04:00 |
Derrick Hammer
|
c90d207b7c
|
*Add first version of the ipfs rpc methods
|
2022-08-04 23:44:50 -04:00 |
Derrick Hammer
|
44e1366856
|
*Refactor RPCConnection::processRequest to handle and process streams
|
2022-08-04 23:43:02 -04:00 |
Derrick Hammer
|
26e12d19a4
|
*Add a streams api for use with rpc
|
2022-08-04 23:41:40 -04:00 |
Derrick Hammer
|
e0b91b02c0
|
*add a misc group of rpc functions starting with ping
|
2022-08-04 23:40:30 -04:00 |
Derrick Hammer
|
3c5b04893f
|
*Use ERR_INVALID_CHAIN
|
2022-08-04 23:39:08 -04:00 |
Derrick Hammer
|
65b02ea1f3
|
*Add error constants
|
2022-08-04 23:38:44 -04:00 |
Derrick Hammer
|
8b17fbf3d2
|
*Add rpcError helper method and change all rpc error handling to the function and use error constants
|
2022-08-04 23:38:30 -04:00 |
Derrick Hammer
|
a36735a356
|
*SslData type not needed
|
2022-08-04 23:35:23 -04:00 |
Derrick Hammer
|
01a32d8734
|
*refactor to use dynamic imports for ESM modules and do so via a helper that bypasses typescript parsing.
|
2022-08-04 23:34:18 -04:00 |
Derrick Hammer
|
5a17b6befd
|
*Remove all requires
*Switch to commonjs target
|
2022-08-03 02:02:40 -04:00 |
Derrick Hammer
|
451f646fb2
|
*Delete current-round property from response if it exists as it causes problems with deterministic processing
|
2022-08-01 00:06:47 -04:00 |
Derrick Hammer
|
d3a90c7714
|
*Better catch rpc node errors and ensure they are passed through properly to the client
|
2022-07-25 23:09:26 -04:00 |
Derrick Hammer
|
9a9a888bcb
|
*use app over api for pocket API keys
|
2022-07-25 22:38:44 -04:00 |
Derrick Hammer
|
84c00acdcf
|
*Fix log information
|
2022-07-25 20:48:06 -04:00 |
Derrick Hammer
|
b5a9a3b00d
|
*Access port as uint
|
2022-07-25 20:35:21 -04:00 |
Derrick Hammer
|
e4f9564cd7
|
*add barebuild script to build without the prebuild script
|
2022-07-25 20:19:58 -04:00 |
Derrick Hammer
|
b6089446b8
|
*Fix port config option name
|
2022-07-25 20:18:31 -04:00 |
Derrick Hammer
|
79139fa980
|
*Only load ssl in setup if it is the bootup process
|
2022-07-25 03:05:38 -04:00 |
Derrick Hammer
|
c9f1893f63
|
*Add loady fork
|
2022-07-25 02:54:51 -04:00 |
Derrick Hammer
|
fca5d8b0a6
|
*Add missing boot call
*Remove module export
|
2022-07-25 02:50:27 -04:00 |
Derrick Hammer
|
c76d56b752
|
*Update deps
|
2022-07-25 02:49:53 -04:00 |
Derrick Hammer
|
d1d5910a59
|
*Update scripts
|
2022-07-25 02:49:14 -04:00 |
Derrick Hammer
|
74893a53fb
|
*Switch to including build/Release native node libraries
|
2022-07-25 02:48:30 -04:00 |
Derrick Hammer
|
3b49f466c9
|
*Add build step to build all native modules then copy the library to its build/Release folder
*Ensure we don't load a loady instance as a sub-module
|
2022-07-25 02:47:35 -04:00 |
Derrick Hammer
|
ec85b36464
|
*Simplify externals to reduce build time/size
|
2022-07-25 02:45:50 -04:00 |
Derrick Hammer
|
5cc06d62c5
|
*Use loglevel
|
2022-07-25 02:45:16 -04:00 |
Derrick Hammer
|
98050b90b0
|
*WIP: minor refactor and build process to create application binaries
|
2022-07-24 22:36:49 -04:00 |
Derrick Hammer
|
0713216cd3
|
*Restructure to transpile to commonjs since vercel pkg does not support ESM
|
2022-07-23 23:16:34 -04:00 |
Derrick Hammer
|
75afac3de1
|
*Track yarn.lock
|
2022-07-23 20:31:07 -04:00 |
Derrick Hammer
|
755b760f94
|
*Use log library
|
2022-07-23 20:29:46 -04:00 |
Derrick Hammer
|
9b59415463
|
*Add dedicated logging library
|
2022-07-23 20:24:19 -04:00 |
Derrick Hammer
|
46fdc78082
|
*Refactor RPCConnection to fix design issues
|
2022-07-23 02:49:54 -04:00 |
Derrick Hammer
|
830aa19a4f
|
*Skip cache update if error is ERR_NOT_READY
|
2022-07-23 02:49:02 -04:00 |
Derrick Hammer
|
a4ddcdf518
|
*Refactor to start the dns up only after the ssl and server instances are ready so we don't announce ourselves on the registry pre-maturely
|
2022-07-23 02:48:02 -04:00 |
Derrick Hammer
|
8d7db21184
|
*Fix missing update to sslCtx for setting SSL
|
2022-07-23 02:46:33 -04:00 |
Derrick Hammer
|
b01ea298b7
|
*Return ERR_NOT_READY rejection error if chain is not synced yet
|
2022-07-23 02:45:50 -04:00 |
Derrick Hammer
|
b640084920
|
*Add xor on staging mode and the letsencrypt cert to reprocess if we are live with a staging cert or on staging mode with a live cert.
|
2022-07-22 21:10:14 -04:00 |
Derrick Hammer
|
e44a87e379
|
*Add method to check if we are in staging mode for ssl
|
2022-07-22 21:09:06 -04:00 |
Derrick Hammer
|
ea4a993182
|
*Refactor RPC connection to its own class
|
2022-07-22 20:58:32 -04:00 |
Derrick Hammer
|
a9f5b4d2c8
|
*add typecast
|
2022-07-22 20:57:53 -04:00 |
Derrick Hammer
|
e0c0ee3f83
|
*Move errorExit to dedicated file
*Add ERR_NOT_READY constant which will represent a chain not ready
|
2022-07-22 20:57:12 -04:00 |
Derrick Hammer
|
023b1387fc
|
*Remove debug line
|
2022-07-22 20:28:13 -04:00 |
Derrick Hammer
|
f5d00640cc
|
*Setup os specific config locations
|
2022-07-22 20:27:54 -04:00 |
Derrick Hammer
|
dc5996957e
|
*Change the communication protocol to require a rpc text "command" before attempting to read as a second listener
|
2022-07-22 19:58:28 -04:00 |
Derrick Hammer
|
76a3010ae6
|
*Remove relay prefix from settings
|
2022-07-22 19:55:09 -04:00 |