Commit Graph

270 Commits

Author SHA1 Message Date
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 77d72a6666
*Update lock 2022-11-28 00:24:50 -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 c5febf06d8
*Update lock 2022-11-27 18:15: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 b7a5d3a99f
*Update description
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-09-28 20:50:35 -04:00
Derrick Hammer d6f7a9555f
*Add systemd service to package
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-09-28 20:49:41 -04:00
Derrick Hammer 8f4211be41
*wrong distro name
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-09-28 18:45:25 -04:00
Derrick Hammer dc7600e90f
*Use new aptly-publisher
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-09-28 18:34:46 -04:00
Derrick Hammer fa1a0b9b75
*Add publish step
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-09-28 06:04:12 -04:00
Derrick Hammer c740c13511
*Add missing config file
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-09-27 13:53:49 -04:00
Derrick Hammer fe53490b76
*Update package commands
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-27 13:46:08 -04:00
Derrick Hammer 7be05a7117
*Switch to ci-node image fork
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-27 13:39:11 -04:00
Derrick Hammer a96597fbd0
*Use current tag
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 21:06:35 -04:00
Derrick Hammer dd0760312d
*Use nfpm image on github
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 21:04:59 -04:00
Derrick Hammer f629e6b8fc
*Try circle ci node image
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 21:03:16 -04:00
Derrick Hammer b9a9b32b08
*No need for sudo
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:55:14 -04:00
Derrick Hammer db655d1e70
*run apt update
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:45:55 -04:00
Derrick Hammer fb454ecfcd
*Image typo
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:45:10 -04:00
Derrick Hammer 6272aafcdf
*Need to switch to building in debian for target system
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:44:08 -04:00
Derrick Hammer 1e2e985d48
*Add gcc
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:39:36 -04:00
Derrick Hammer 8c937ca692
*add make
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:36:57 -04:00
Derrick Hammer 5af8bedfd9
*add python
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:27:25 -04:00
Derrick Hammer ea19ad1564
*Install bash
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:18:19 -04:00
Derrick Hammer 8252467c25
*bug fix command
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:16:40 -04:00
Derrick Hammer 1ce2283267
*Update apk command
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:15:49 -04:00
Derrick Hammer 6ec68ceff0
*Use apk
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:14:20 -04:00
Derrick Hammer 12b983b499
*Install git
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:13:27 -04:00
Derrick Hammer fa65499b89
*Yarn install is not needed
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 20:08:35 -04:00
Derrick Hammer a2de46404b
*Add woodpecker ci to build deb
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-09-25 19:53:23 -04: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