Derrick Hammer
74c20c6042
*Don't use getRpcServer directly
2023-01-07 23:04:36 -05:00
Derrick Hammer
ce23f0a7b8
*Refactor how core plugins are loaded
2023-01-07 23:02:13 -05:00
Derrick Hammer
5c85ad2962
*Move core plugins outside modules folder
2023-01-07 22:58:06 -05:00
Derrick Hammer
f8a698c656
*Remove unneeded import
2023-01-07 22:56:16 -05:00
Derrick Hammer
5dee9aeed4
*Unneeded parameter
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2023-01-05 20:58:39 -05:00
Derrick Hammer
2ae556ad14
*Add get_topics rpc method
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2023-01-05 20:55:46 -05:00
Derrick Hammer
523f2c04f0
*Add new core dht plugin that allows joining a DHT topic and getting the peers of a given topic
2023-01-05 20:51:43 -05:00
Derrick Hammer
ba86b3587b
*add core.shutdown hook for bootstrap DHT
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2023-01-05 19:44:43 -05:00
Derrick Hammer
831612bc77
*Add an async shutdown event so that plugins can take action before the swarm is destroyed
2023-01-05 19:39:03 -05:00
Derrick Hammer
6a41daff62
*Ensure the swarm properly shuts down and un-announces itself
2023-01-05 19:36:06 -05:00
Derrick Hammer
f71d8f8685
*Private key must be full 64 bit private key
2022-12-31 13:30:16 -05:00
Derrick Hammer
2c22c88e30
*address does not fit the addressinfo type
2022-12-31 13:28:59 -05:00
Derrick Hammer
14edcdc6ce
*Bootstrap argument needs to be passed to DHT, not swarm
2022-12-30 18:27:18 -05:00
Derrick Hammer
1b78d0e696
*Implement a protocol manager to register protomux based protocols and add it to the plugin api
2022-12-30 01:00:45 -05:00
Derrick Hammer
bcc63ae15d
*Need to pass through proxy requests to config object
2022-12-22 09:54:05 -05:00
Derrick Hammer
47705c2f12
*Add a publicly accessible bootstrap node
...
*Setup our bootstrap to start with our node first, and add in the default bootstrap servers
2022-12-22 08:28:58 -05:00
Derrick Hammer
24ec1e6526
*Remove default plugins list
2022-12-21 16:25:31 -05:00
Derrick Hammer
af7e441c7c
*save no longer needs file extension
2022-12-21 16:12:33 -05:00
Derrick Hammer
3d29026a22
*Add new pluginConfig api that scopes all get, set, and has methods to a plugin.${plugin} scope to access only that plugins config
2022-12-21 15:12:20 -05:00
Derrick Hammer
aa2dfe0ba0
*Update api reference
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2022-12-19 15:38:43 -05:00
Derrick Hammer
7b26856720
*Update rpc methods that require cache to only be enabled if on
...
*Make get_direct_peers, get_connected_peers, and get_bootstrap_info debug methods
2022-12-19 15:34:32 -05:00
Derrick Hammer
af4e6155bc
*Make dht cache optional, but enabled by default
2022-12-19 15:28:22 -05:00
Derrick Hammer
212edf184d
*More log refactoring
ci/woodpecker/push/woodpecker Pipeline failed
Details
2022-12-19 14:17:07 -05:00
Derrick Hammer
7b9c667749
*Routes must be defined before listen
2022-12-19 14:03:22 -05:00
Derrick Hammer
9b9ff2118c
*export ssl manager
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2022-12-19 12:17:33 -05:00
Derrick Hammer
b57644836f
*Path bug fix
2022-12-19 12:14:24 -05:00
Derrick Hammer
c207452c65
*Update API interface to add the identity and ssl manager
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2022-12-19 12:08:33 -05:00
Derrick Hammer
b7cd9ac5e2
*More log fixes
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2022-12-19 11:47:09 -05:00
Derrick Hammer
a6eef21da0
*Make log the default export
ci/woodpecker/push/woodpecker Pipeline failed
Details
2022-12-19 11:44:11 -05:00
Derrick Hammer
88a827276e
*Update references of log object
ci/woodpecker/push/woodpecker Pipeline failed
Details
2022-12-19 11:42:51 -05:00
Derrick Hammer
05223c84b8
*Update config save call
2022-12-19 11:42:32 -05:00
Derrick Hammer
ccd2b4fd78
*Update use of config api
ci/woodpecker/push/woodpecker Pipeline failed
Details
2022-12-19 11:37:49 -05:00
Derrick Hammer
f164f7a6d3
*Pass child pino logger to dht-cache
2022-12-19 08:51:35 -05:00
Derrick Hammer
3fffc08d54
*switch to pino logger
2022-12-19 08:19:43 -05:00
Derrick Hammer
f597afac6a
*Implement new SSl support with SSLManager class
...
*Rewrite relay servers to use fastify
*Remove status code server, it will be a plugin
2022-12-19 08:09:25 -05:00
Derrick Hammer
ef03883605
*switch app to using fastify
2022-12-19 07:13:11 -05:00
Derrick Hammer
84b69e09af
*Update return type on getKeyPair
2022-12-19 07:12:10 -05:00
Derrick Hammer
ce5d66095f
*Remove ssl support for now
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2022-12-18 15:11:18 -05:00
Derrick Hammer
56673a6bc1
*remove log debugging code
2022-12-18 15:08:04 -05:00
Derrick Hammer
457398b291
*Prune out old or unneeded code, some maybe be refactored back in as plugins or in a different form
ci/woodpecker/push/woodpecker Pipeline failed
Details
2022-12-18 15:05:40 -05:00
Derrick Hammer
6fa5ccd49a
*Add swarm to plugin api
2022-12-18 15:01:27 -05:00
Derrick Hammer
480bfdd0d0
*Remove dns module for now, will refactor this back later
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2022-12-18 14:44:39 -05:00
Derrick Hammer
b50b8e8ced
*Make bip44 path a constant
2022-12-18 14:00:22 -05:00
Derrick Hammer
37b0e824c4
*Update bip44 path
2022-12-18 13:58:23 -05:00
Derrick Hammer
a85b20769a
*Fix valid check
2022-12-18 13:46:00 -05:00
Derrick Hammer
5fba29b3ee
*Update imports for getKeyPair and getSeed
2022-12-18 13:45:12 -05:00
Derrick Hammer
7fad293bdc
*validateMnemonic returns a boolean
2022-12-18 13:42:41 -05:00
Derrick Hammer
db4b61bdd9
*Switch seed to bip39, and use bip32/bip44/slip10
2022-12-18 13:32:59 -05:00
Derrick Hammer
2db95ff746
*Add plugin emit for plugins loaded
2022-12-18 11:42:50 -05:00
Derrick Hammer
2b5d3ef646
*Heavily refactor plugin api, remove most methods for now
...
*Introduce event emitter2 which will be used as part of api
*Use a proxy class to create a custom PluginAPI.registerMethod which will pass the lexical scoped plugin name
2022-12-18 11:09:29 -05:00