Hongbo Zhang
aaa00b3488
upnp
2020-06-16 12:03:01 -04:00
Aaron Buchwald
ba2b214b58
Decouple staking and tls encryption for internode communication
2020-06-15 09:39:56 -04:00
StephenButtolph
6a8e831af6
Added version to admin api
2020-06-10 03:15:03 -04:00
StephenButtolph
f3bea7140f
version bump
2020-06-10 02:59:19 -04:00
StephenButtolph
c86838f2e8
Moved rpcchainvm logs to live under their chain
2020-06-08 11:53:55 -04:00
StephenButtolph
22d63033ba
weight based on the beacons rather than the validators
2020-06-08 11:13:15 -04:00
StephenButtolph
4e521e128a
version bump
2020-06-08 03:15:36 -04:00
StephenButtolph
2bab495e9b
added version flag
2020-06-07 19:12:55 -04:00
StephenButtolph
9cae34dcfc
Merge branch 'network-upgrade' into c-chain-local-rpc
2020-06-07 18:13:32 -04:00
StephenButtolph
f9f1f08b9b
load balance the P-chain bootstrapping, bump the version
2020-06-07 12:54:53 -04:00
Dan Laine
670227d318
add --version CLI that prints version and quits
2020-06-05 18:42:48 -04:00
Determinant
70ab3160ce
make JSON-RPC local by default; add basic logging for C-Chain
2020-06-05 15:00:12 -04:00
Dan Laine
425817a36d
print version on start
2020-06-04 15:55:29 -04:00
StephenButtolph
465dd81379
bump patch version
2020-06-02 19:00:42 -04:00
StephenButtolph
b8bd018938
only exit the dispatch loop if the node is closing
2020-06-02 18:59:34 -04:00
StephenButtolph
d38405178b
final version bump to denali
2020-05-31 18:01:09 -04:00
StephenButtolph
d7e67f00b7
Bumped version number
2020-05-30 13:35:46 -04:00
StephenButtolph
18e1a5ca4f
await chain shutdowns correctly
2020-05-29 18:08:44 -04:00
StephenButtolph
bb11465d7e
added listAddresses API to the AVM
2020-05-25 22:29:36 -04:00
StephenButtolph
cbc5811fb8
Removed unneeded global variable
2020-05-25 17:45:50 -04:00
StephenButtolph
25ca13000c
Added metrics to the networking lib
2020-05-25 16:02:03 -04:00
StephenButtolph
40cb65ed8f
merged
2020-05-23 17:19:16 -04:00
Stephen Buttolph
b333fbe2a5
Merge branch 'master' into TS_health
2020-05-23 14:03:24 -04:00
StephenButtolph
b3baae5be4
Commented network and added onAccept gossiping
2020-05-22 16:04:48 -04:00
Tyler Smith
fcd13e7d90
FEATURE: Add Health API.
2020-05-19 11:07:48 -07:00
StephenButtolph
34909f72f5
removed xputtests to get the build to pass
2020-05-18 14:57:31 -04:00
StephenButtolph
b4306585a4
Switched to a pure go networking stack
2020-05-17 23:47:43 -04:00
Alex Willmer
b9ceddd052
api: add --http-host to restrict RPC bind address
...
± ./build/ava --http-host localhost --public-ip <redacted>
___ ________ __ ___
/ _ \_/\ / _____/ ____ ____ | | ______ / _ \_/\
\/ \___/ / \ ____/ __ \_/ ___\| |/ / _ \ \/ \___/
\ \_\ \ ___/\ \___| < <_> )
\______ /\___ >\___ >__|_ \____/
\/ \/ \/ \/
...
INFO [05-14|21:09:54] /api/server.go#53: API server listening on
"localhost:9650"
INFO [05-14|21:09:54] /api/server.go#106: adding route
/ext/vm/jvYyfQTxGMJLuGWa55kdP2p2zSUYsQ5Raupu4TW34ZAUBAbtq
...
The node continues to partcipate in consensus, but RPC calls are
restricted to the localhost interface
$ ss -lnt | grep 965
LISTEN 0 4096 127.0.0.1:9650 0.0.0.0:*
LISTEN 0 10 0.0.0.0:9651 0.0.0.0:*
$ curl -X POST --data '{
> "id": '$(date +%s)',
> "jsonrpc": "2.0",
> "method": "admin.getNodeID",
> "params":{}
> }' -H 'content-type:application/json;' 127.0.0.1:9650/ext/admin
{"jsonrpc":"2.0","result":{"nodeID":"2iEwniZihec5S2anxDpKGenZB7Cs112Ap"},"id":1589486853}
$ curl -X POST --data '{
> "id": '$(date +%s)',
> "jsonrpc": "2.0",
> "method": "admin.getNodeID",
> "params":{}
> }' -H 'content-type:application/json;' 192.168.43.60:9650/ext/admin
curl: (7) Failed to connect to 192.168.43.60 port 9650: Connection
refused
2020-05-14 21:12:33 +01:00
StephenButtolph
4497839c2c
Exit the node if the http server errors
2020-05-13 00:51:30 -04:00
StephenButtolph
ed11d05dfd
Close the signal channel on node shutdown
2020-05-11 22:11:28 -04:00
StephenButtolph
2c644b2fff
Cleaned up signal handling from PR feedback
2020-05-11 21:58:10 -04:00
StephenButtolph
a5a3c703f1
Removed cgo signal handlers
2020-05-06 20:57:45 -04:00
StephenButtolph
87a175eaaf
Changed signal handling to use go signal handlers
2020-05-06 20:55:52 -04:00
StephenButtolph
a4a171c219
Changed connTimeout to 60s rather than defaulting to 3m
2020-04-22 15:15:48 -04:00
StephenButtolph
f1cfa2aa51
Added server ip + port to error logging
2020-04-22 12:46:54 -04:00
StephenButtolph
f592ecfb7b
Don't refresh peers from peerlists if already attempting to connect
2020-04-21 14:32:00 -04:00
StephenButtolph
6bcedf1d64
wip
2020-04-20 20:00:36 -04:00
StephenButtolph
aa60e61c5c
1-way handshake on a staking network
2020-04-18 22:47:53 -04:00
StephenButtolph
c6b92425ef
Added connections
2020-04-18 21:02:40 -04:00
StephenButtolph
1092abe844
Changed to support 1-way connections
2020-04-18 20:34:19 -04:00
StephenButtolph
dde8e97590
Merge branch 'master' into fix-oversized-message
2020-04-17 02:41:20 -04:00
Stephen Buttolph
42baab2881
Move Geth to a plugin connected at runtime
...
* removed coreth + geth dependency for the C-chain, still have nat + crypto dependencies
* Added first past of nat traversal
* Removed go-eth dependency for secp256k1
* renamed db files to not repeat the package title
* Added rpcdb, untested
* Added rpcdb tests
* removed defer from loop
* cleaned up tests
* Started working on the rpc chain VM
* First pass of vm plugin support
* Added http over grpc
* added beta support for http handlers
* updated vms for the rpcvms
* Added error returns for factories
* Added EVM back to the genesis
* Added the EVM factory
* Added EVM aliasing, fixed nil pointer bugs during shutdown
* Added plugin folder
* Removed plugins folder, add default params for the plugin dir
* Added http RPC test
* Added cascade evm genesis
* Removed debug line
* removed more debug lines
* Cleaned up import statement
* Changed default plugin dir to ./plugins
* build evm plugin auto in the build script
2020-04-16 11:39:20 -04:00
StephenButtolph
0933380c99
Correctly configure the max message size for non-staking networks
2020-04-15 16:54:39 -04:00
StephenButtolph
fd083776f4
Added multiple genesii
2020-04-02 23:43:02 -04:00
StephenButtolph
4f868bda6e
Added sanity check to the database on startup
2020-03-31 18:56:05 -04:00
StephenButtolph
9d4be014e9
merged
2020-03-30 22:10:31 -04:00
StephenButtolph
4d34dc042d
merged
2020-03-30 22:06:29 -04:00
StephenButtolph
00332620a6
Implemented Properties
2020-03-30 17:46:18 -04:00
StephenButtolph
a2c0ad56f7
Implemented NFTs
2020-03-30 16:23:06 -04:00
StephenButtolph
87ea21c63f
linked atomic swaps to main
2020-03-26 18:04:41 -04:00