Commit Graph

204 Commits

Author SHA1 Message Date
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
Derrick Hammer 88dc104102 *Refactor SSL support to store to skynet as independent files
*Introduce ssl-mode config option to use staging letsencrypt
2022-07-22 19:53:11 -04:00
Derrick Hammer 330866c1e8 *dependency updates 2022-07-22 19:51:11 -04:00
Derrick Hammer 693081c740 *Move hashDataKey to a dedicated utility package 2022-07-22 19:50:15 -04:00
Derrick Hammer 20e9511eae *Reformat 2022-07-19 18:31:15 -04:00
Derrick Hammer 070b7825e2 *Refactoring
*Reformat
*Fix hsd node bootup
2022-07-19 18:24:53 -04:00
Derrick Hammer ff7ebb0984 *hard code maintain email again 2022-07-05 16:32:26 -04:00
Derrick Hammer 6ad101d71e *Fix import 2022-07-05 16:28:23 -04:00
Derrick Hammer e5ac39cb6c *add error checking for pocket settings 2022-07-05 16:27:39 -04:00
Derrick Hammer dc647f169e *createRequire needed again 2022-07-05 16:22:41 -04:00
Derrick Hammer ab6ee0f1a7 *createRequire needed again 2022-07-05 16:21:49 -04:00
Derrick Hammer 56ee75ffca *Add type import assert 2022-07-05 16:19:59 -04:00
Derrick Hammer 7c13ab7f3f *refactor loading networks.json 2022-07-05 16:14:39 -04:00
Derrick Hammer 6a2ea8b4f2 *Add missing networks.json 2022-07-05 16:02:12 -04:00
Derrick Hammer 81834bb41b *import pocket as a commonjs 2022-07-05 15:54:57 -04:00
Derrick Hammer 5db7bc847f *add missing algosdk 2022-07-05 15:36:18 -04:00
Derrick Hammer f5416a2a75 *Store ssl config in config folder 2022-07-05 15:05:31 -04:00
Derrick Hammer e6d8decd07 *switch to using bcfg 2022-07-05 15:02:07 -04:00
Derrick Hammer 6103edf4a4 *Optimize SPVNode config 2022-07-05 14:09:50 -04:00
Derrick Hammer 8f74b249da *Add an embedded handshake node for simplicity 2022-07-04 20:30:10 -04:00
Derrick Hammer 8d95dde848 *Initial merge of rpcproxy 2022-07-04 19:17:58 -04:00