Fabio Barone
369b14140e
before install specific to OS
2020-05-15 15:11:33 -05:00
Fabio Barone
0a4904be97
use build matrix to define bionic
2020-05-15 14:46:22 -05:00
Fabio Barone
79d0ac67cf
try osx build
2020-05-15 14:39:05 -05:00
Alex Willmer
7f94a13fb2
Merge branch 'master' into rpc-host
2020-05-14 21:26:14 +01: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
Stephen Buttolph
7c4abdea66
Merge pull request #167 from StephenButtolph/mem-cleanup
...
added required copy(true) to addr
2020-05-14 15:05:43 -04:00
Stephen Buttolph
8f409e28f6
Merge branch 'master' into mem-cleanup
2020-05-14 14:34:46 -04:00
StephenButtolph
5c915d54b3
added required copy(true) to addr
2020-05-14 14:25:45 -04:00
Stephen Buttolph
ccdc7b8e28
Merge pull request #165 from moreati/banner-tidy
...
main: Represent the Gecko banner without escape strings
2020-05-14 12:47:30 -04:00
Alex Willmer
07156719a1
main: Represent the Gecko banner without escape strings
...
Purely cosmetic, included only because it was bugging me. Please feel
free to reject it, with no hard feelings.
2020-05-13 22:06:44 +01:00
Stephen Buttolph
f290f7377e
Merge pull request #160 from StephenButtolph/require-http-port
...
Exit the node if the http server errors
2020-05-13 13:56:57 -04:00
StephenButtolph
4497839c2c
Exit the node if the http server errors
2020-05-13 00:51:30 -04:00
Stephen Buttolph
19db6fe6d5
Merge pull request #156 from moreati/editorconfig
...
Standardise newline and trailing whitespace conventions
2020-05-12 22:32:54 -04:00
Stephen Buttolph
18533a87e3
Merge branch 'master' into editorconfig
2020-05-12 22:19:15 -04:00
Stephen Buttolph
f247f1c007
Merge pull request #155 from moreati/bash-strict
...
build: Fail loudly if bash variables are unset, or a pipeline errors
2020-05-12 22:18:59 -04:00
Stephen Buttolph
b818b3c11f
Merge branch 'master' into bash-strict
2020-05-12 21:37:19 -04:00
Stephen Buttolph
05b02d3f6c
Merge pull request #149 from StephenButtolph/consensus-updates
...
Consensus updates
2020-05-12 16:40:53 -04:00
StephenButtolph
136a2559f0
commented the requests structs
2020-05-12 15:50:53 -04:00
StephenButtolph
b291ddaa91
lowered log level for byz node logging
2020-05-12 15:18:02 -04:00
StephenButtolph
9cd8789b3f
merged
2020-05-12 14:50:35 -04:00
Stephen Buttolph
df786101a5
Merge pull request #147 from ava-labs/less-logs
...
Lower low level for many messages to improve UX. Improve wording of some messages.
2020-05-12 14:38:02 -04:00
StephenButtolph
f0be1c47dc
lowered log level for byz node logging. Added bootstrapping finish logs
2020-05-12 14:26:38 -04:00
StephenButtolph
56bbee491c
Merge branch 'master' into less-logs
2020-05-12 14:02:49 -04:00
Stephen Buttolph
7a4b1a0fdc
Merge pull request #141 from adasari/delete_keystore_user
...
Added DeleteUser API. Resolves #107
2020-05-12 11:55:04 -04:00
Stephen Buttolph
939226f29f
Merge branch 'master' into delete_keystore_user
2020-05-12 11:42:30 -04:00
Stephen Buttolph
0f27ceca15
Merge pull request #146 from StephenButtolph/atomic-get-balance
...
Atomic get balance
2020-05-12 01:37:40 -04:00
StephenButtolph
5e6e3d61f2
merged
2020-05-12 01:27:13 -04:00
Stephen Buttolph
a77e20a9d8
Merge pull request #145 from ava-labs/move-keys-dir
...
add staking key/cert generation
2020-05-12 00:57:35 -04:00
Anil Dasari
deb71d519c
remove keyvalue slice
2020-05-12 10:15:33 +05:30
Anil Dasari
59e38e369c
error descrption fix
2020-05-12 10:10:46 +05:30
StephenButtolph
b96ff7099e
Fixed test-inventory key location
2020-05-11 23:21:08 -04:00
Stephen Buttolph
12d44c1996
Merge branch 'master' into move-keys-dir
2020-05-11 22:59:42 -04:00
Stephen Buttolph
ac9eeef3da
Merge pull request #144 from StephenButtolph/get-tx
...
Added GetTx method to the AVM endpoint
2020-05-11 22:54:02 -04:00
StephenButtolph
1dc6fb77b9
merged
2020-05-11 22:41:05 -04:00
Stephen Buttolph
f50c3cc1b4
Merge pull request #143 from StephenButtolph/go-signals
...
Go signals
2020-05-11 22:33:39 -04:00
StephenButtolph
0c2354dbae
Fixed race in platformvm repolling
2020-05-11 22:24:28 -04:00
StephenButtolph
ed11d05dfd
Close the signal channel on node shutdown
2020-05-11 22:11:28 -04:00
Stephen Buttolph
fe192b7df9
Merge branch 'master' into go-signals
2020-05-11 21:58:42 -04:00
StephenButtolph
f820b48d96
Merge remote-tracking branch 'upstream/master' into go-signals
2020-05-11 21:58:25 -04:00
StephenButtolph
f3c8d44dbd
Merge branch 'go-signals' of github.com:StephenButtolph/gecko into go-signals
2020-05-11 21:58:20 -04:00
StephenButtolph
2c644b2fff
Cleaned up signal handling from PR feedback
2020-05-11 21:58:10 -04:00
Anil Dasari
4ba3a9fd8c
review comment: delete prefix db data
2020-05-12 03:19:16 +05:30
Alex Willmer
fdff7839b3
build: Fail loudly if bash variables are unset, or a pipeline errors
...
These bash options increase the robustness of bash scripts, increasing
the chances that errors are spotted, instead of passing silently.
errexit was already enabled (by bash -e) if the scripts were invoked as
path/to/script.sh
However bash -e would not take effect if the script was invoked as
bash path/to/script.sh
The long form of the options is used to serve as an memory aide for
readers unfamiliar with bash options.
2020-05-11 20:48:02 +01:00
Alex Willmer
c32ea10fca
Standardise newline and trailing whitespace conventions
...
This change aims to reduce incidental changes in pull requests caused by
configuration and UI differences in text editors. The chosen conventions
are
- unix line endings
- trim trailing whitespace
- terminate files with a newline
editorconfig is an informal convention that indicates preferred line and
file terminations to text editors and other tools. Several editors have
builtin support, and many more have plugins available.
More info at https://editorconfig.org/
2020-05-11 20:31:59 +01:00
Anil Dasari
8c2b71e00b
refactoring and styling fix
2020-05-12 00:46:26 +05:30
Stephen Buttolph
39cb2c1eb0
Merge pull request #142 from bb-2/platform_nil_shortids
...
Check for nil shortIDs in platformvm service requests
2020-05-11 15:15:50 -04:00
Anil Dasari
8b83cb5175
review comments: remove from all dbs
2020-05-12 00:41:04 +05:30
Stephen Buttolph
81fd81e055
Merge branch 'master' into platform_nil_shortids
2020-05-11 14:09:59 -04:00
Dan Laine
fa230e6e90
fix typo
2020-05-11 11:48:16 -04:00
Dan Laine
8b76376bfb
lower log levels. Formatting
2020-05-11 10:42:50 -04:00