Derrick Hammer
|
d28868508b
|
Revert "*Need to use dynamic import"
This reverts commit 6413d97c61 .
|
2022-12-15 06:23:28 -05:00 |
Derrick Hammer
|
485fa98f0e
|
Revert "*Need to return dynamic function and execute it"
This reverts commit 55fa792bc9 .
|
2022-12-15 06:23:28 -05:00 |
Derrick Hammer
|
55fa792bc9
|
*Need to return dynamic function and execute it
|
2022-12-15 06:04:24 -05:00 |
Derrick Hammer
|
6413d97c61
|
*Need to use dynamic import
ci/woodpecker/push/woodpecker Pipeline was successful
Details
|
2022-12-15 05:42:22 -05:00 |
Derrick Hammer
|
884ba62bde
|
*Add timeout support to broadcast request with a default timeout of 5 seconds.
ci/woodpecker/push/woodpecker Pipeline was successful
Details
|
2022-12-15 04:58:54 -05:00 |
Derrick Hammer
|
724a0f0135
|
*switch plugin loading to use require and not import
ci/woodpecker/manual/woodpecker Pipeline failed
Details
|
2022-12-13 07:23:18 -05:00 |
Derrick Hammer
|
d54fe4666f
|
*Types changed with chalk
ci/woodpecker/push/woodpecker Pipeline was successful
Details
|
2022-12-07 02:16:37 -05:00 |
Derrick Hammer
|
4742c6844c
|
*Add log level prefix plugin with chalk formatting
ci/woodpecker/push/woodpecker Pipeline was successful
Details
|
2022-12-07 01:57:21 -05:00 |
Derrick Hammer
|
80a3354866
|
*ensure loglevel is configurable
|
2022-12-07 00:46:16 -05:00 |
Derrick Hammer
|
7bd0a72113
|
*Move relay identity log to swarm
ci/woodpecker/push/woodpecker Pipeline was successful
Details
|
2022-12-06 17:03:30 -05:00 |
Derrick Hammer
|
c25e8b4aff
|
*generateSeedPhraseDeterministic returns an array, need only the 1st element
ci/woodpecker/push/woodpecker Pipeline was successful
Details
|
2022-12-06 16:55:58 -05:00 |
Derrick Hammer
|
ededa55b57
|
*Dont require a domain
ci/woodpecker/push/woodpecker Pipeline was successful
Details
|
2022-12-06 16:22:28 -05:00 |
Derrick Hammer
|
eedd6e7da5
|
*Remove pocket config check
ci/woodpecker/push/woodpecker Pipeline was successful
Details
|
2022-12-06 07:22:03 -05:00 |
Derrick Hammer
|
8ea5a38b83
|
*Remove self from peers list
|
2022-12-05 15:38:58 -05:00 |
Derrick Hammer
|
bbc9020f66
|
*Update get_direct_peers to filter against dhtCache online list
|
2022-12-05 15:22:18 -05:00 |
Derrick Hammer
|
cd7b12e8b3
|
*add get_peers and get_direct_peers api methods to the core rpc plugin
ci/woodpecker/push/woodpecker Pipeline failed
Details
|
2022-12-04 12:04:18 -05:00 |
Derrick Hammer
|
e35b602133
|
*Add getter for dhtCache
|
2022-12-04 12:03:36 -05:00 |
Derrick Hammer
|
0e6c84c566
|
*Make default topic hash an exported const
|
2022-12-04 12:03:09 -05:00 |
Derrick Hammer
|
4121e23fd9
|
*If the rpc call returns no value, default to a true boolean
|
2022-12-04 07:14:36 -05:00 |
Derrick Hammer
|
7dff9a1ab4
|
*Only try to stringify the data if it is not already a string
|
2022-12-04 01:28:05 -05:00 |
Derrick Hammer
|
9393ffc4c1
|
*if cached merge in the cached item signature with the rpc response
|
2022-12-04 01:25:55 -05:00 |
Derrick Hammer
|
c8c19b77a6
|
*Switch to json-stringify-deterministic
|
2022-12-04 01:11:05 -05:00 |
Derrick Hammer
|
d7897af137
|
*Prevent recursive broadcast_request
|
2022-12-04 01:01:13 -05:00 |
Derrick Hammer
|
64611618de
|
*Update to use NodeCache api
|
2022-12-03 22:55:39 -05:00 |
Derrick Hammer
|
616b74a820
|
*Wrap cache delete in try/catch
ci/woodpecker/push/woodpecker Pipeline failed
Details
|
2022-11-28 02:06:39 -05:00 |
Derrick Hammer
|
4bb0636a8d
|
*Unneeded import
|
2022-11-28 02:04:35 -05:00 |
Derrick Hammer
|
69fd9a14ef
|
*Switch to node cache
|
2022-11-28 02:03:50 -05:00 |
Derrick Hammer
|
0387316e4f
|
*Refactor broadcast handling to call RPCServer.handleRequest if it is a loopback request
ci/woodpecker/push/woodpecker Pipeline failed
Details
*check for request module and request method
*Bug fix processing of responses
|
2022-11-28 01:37:54 -05:00 |
Derrick Hammer
|
9b15c738e9
|
*Allow handleRequest to be publicly called
*If getMethodByRequest returns an error, treat as a request error
|
2022-11-28 01:35:35 -05:00 |
Derrick Hammer
|
cb2299f9e8
|
*Buffer conversion bugfix
|
2022-11-28 00:31:37 -05:00 |
Derrick Hammer
|
029aab6901
|
*Fix type handling
|
2022-11-28 00:24:36 -05:00 |
Derrick Hammer
|
1c37f7809c
|
*If we need to wait for the connection, join the peer
|
2022-11-28 00:16:25 -05:00 |
Derrick Hammer
|
2f9a0c7356
|
*Refactor getRpcByPeer to operate in Buffers
|
2022-11-28 00:14:11 -05:00 |
Derrick Hammer
|
91642ea729
|
*Update imports
|
2022-11-27 18:16:08 -05:00 |
Derrick Hammer
|
8895f557e5
|
*getNodeQuery is not needed, for now
|
2022-11-27 18:12:28 -05:00 |
Derrick Hammer
|
364e628c7a
|
*Simplify clear_cached_item so it just needs to use broadcast_request as a proxy
|
2022-11-27 18:10:21 -05:00 |
Derrick Hammer
|
86ce21a4b4
|
*If we have a cached request, release the lock
ci/woodpecker/push/woodpecker Pipeline failed
Details
|
2022-11-26 18:23:26 -05:00 |
Derrick Hammer
|
9ce66b15a3
|
*Add query hash to dht cache
|
2022-11-26 17:53:39 -05:00 |
Derrick Hammer
|
83b62bfdcb
|
*Refactor mutex lock logic
|
2022-11-26 17:53:16 -05:00 |
Derrick Hammer
|
5c02356595
|
*start swarm in boot first, before even plugins since they kickstart the rpc singleton
|
2022-11-26 17:13:37 -05:00 |
Derrick Hammer
|
ec33e40c74
|
*Export swarm start
*Make swarm get non async to prevent race conditions
|
2022-11-26 17:13:02 -05:00 |
Derrick Hammer
|
ebd09f9a52
|
*Bug fix signData
|
2022-11-26 17:11:48 -05:00 |
Derrick Hammer
|
0d5aa24b74
|
*privateKey needs to be secretKey
|
2022-11-26 14:36:44 -05:00 |
Derrick Hammer
|
00fc999169
|
*Major refactor to swarm based DHT design, switch to protomux-rpc, merging core plugin into main daemon, and creating a new internal rpc plugin for cache and broadcast requests
ci/woodpecker/push/woodpecker Pipeline failed
Details
|
2022-11-26 02:59:07 -05:00 |
Derrick Hammer
|
b74bcd5dd2
|
*Add newRouter function that defines a root endpoint and returns the pubkey
*Call newRouter in resetRouter
*Call resetRouter in start
|
2022-09-22 10:18:50 -04:00 |
Derrick Hammer
|
36da04bdfe
|
*Extract keypair logic to a helper function
|
2022-09-22 10:17:37 -04:00 |
Derrick Hammer
|
668e427b8c
|
*Change ssl to default to false, plugins will need to enable it on init
|
2022-09-22 08:00:02 -04:00 |
Derrick Hammer
|
f8c19e2fd6
|
*Load env and arg configs after config files again to have them override in priority.
|
2022-09-22 07:51:58 -04:00 |
Derrick Hammer
|
18a7ca4aa8
|
*Update plugin folder location to be beside the config folder
|
2022-09-21 17:40:17 -04:00 |
Derrick Hammer
|
49739eaac8
|
*If we don't have a seed, create one by saving to the config folder as account.json
|
2022-09-21 16:40:10 -04:00 |