Commit Graph

114 Commits

Author SHA1 Message Date
Jakub Sokołowski 1926a316ba
upgrade from 1.10.11 to 1.10.13
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.13

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-12-02 13:04:46 +01:00
Jakub Sokołowski 47b3de7059
upgrade from 1.10.8 to 1.10.11
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.11

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-25 10:23:41 +02:00
Jakub Sokołowski 87b6be842f
default WebSocket port to using localhost address
It's equally as sensitive as the JSON RPC API endpoint.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-25 15:20:41 +02:00
Jakub Sokołowski bb265a41b6
upgrade Geth 1.10.6 to 1.10.8
Hotfix release to patch a vulnerability in the EVM: CVE-2021-39137

https://github.com/ethereum/go-ethereum/releases/tag/v1.10.8

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-25 11:38:44 +02:00
Jakub Sokołowski 06966616e6
upgrade 1.10.3 to 1.10.6 for London hard-fork
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.6

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-22 17:08:01 +02:00
Jakub Sokołowski 7b27e0f75a
fix geth_rpc_wrapper variable typo
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-07 18:44:02 +02:00
Jakub Sokołowski 3eb688d771
upgrade 1.10.1 to 1.10.3
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.3

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-07 18:40:09 +02:00
Jakub Sokołowski e85230e6d7
replace Tinc VPN with WireGuard
https://github.com/status-im/infra-hq/issues/58

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-19 23:02:25 +02:00
Jakub Sokołowski c3b51f0799
make location of rpc.sh wrapper customizable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-11 12:17:34 +02:00
Jakub Sokołowski 27ff1d257b
support running init before container creation
This allows for providing a custom genesis config file.

For more details see:
https://github.com/status-im/infra-nimbus/issues/53

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-29 14:33:40 +02:00
Jakub Sokołowski 8d2eeb8961
add support for geth_extra_flags list
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-29 13:58:48 +02:00
Jakub Sokołowski c67fc0ef6c
swap limits are not supported by docker-compose
https://stackoverflow.com/questions/44325949/

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 20:47:42 +01:00
Jakub Sokołowski 4cdf6e0e53
rename geth_aliases to geth_rpc_vhosts, add geth_cont_name
Fixes 403 Forbidden errors on connections between containers.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 12:57:47 +01:00
Jakub Sokołowski f446b09f19
refactor to use Docker Compose file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 12:16:43 +01:00
Jakub Sokołowski b49b5dde83
expose geth metrics port at 6060
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 10:00:34 +01:00
Jakub Sokołowski 0eed3daea9
add geth_discovery_enabled flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-24 12:16:39 +01:00
Jakub Sokołowski 704d1e3d57
upgrade 1.9.25 to 1.10.1
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.1
https://github.com/ethereum/eth1.0-specs/blob/master/network-upgrades/berlin.md

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-16 23:24:15 +01:00
Jakub Sokołowski 1921fcfe98
add support for custom bootnodes with geth_bootnodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-06 20:32:08 +01:00
Jakub Sokołowski 8b0dba55ea
upgrade 1.9.24 to 1.9.25
https://github.com/ethereum/go-ethereum/releases/tag/v1.9.25

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-01-22 16:57:14 +01:00
Jakub Sokołowski 16eecb5b9e
allow for customizing allowed WebSocket origins
https://geth.ethereum.org/docs/rpc/server
https://github.com/ethereum/go-ethereum/issues/16608

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-12-04 18:22:27 +01:00
Jakub Sokołowski 1c8f6ff804
add Tinc VPN IP to aliases for RCP and WebSocket API
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-12-04 17:46:05 +01:00
Jakub Sokołowski 21eb400769
upgrade 1.9.23 to 1.9.24
Includes fix for CVE-2020-28362.
https://github.com/ethereum/go-ethereum/releases/tag/v1.9.24

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-24 17:09:24 +01:00
Jakub Sokołowski bd4723548a
allow enabling websocket API port
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-24 16:31:23 +01:00
Jakub Sokołowski 9591893b87
dont set --cache if not specified, it messes with things
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-24 14:46:50 +01:00
Jakub Sokołowski 04fd3a574c
use multiples of 1024 for --cache flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-21 15:29:44 +02:00
Jakub Sokołowski cc19c54471
don't use --networkid flag, it causes issues
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-21 12:42:12 +02:00
Jakub Sokołowski a7effd42f2
upgrade Geth to 1.9.23
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-20 15:39:28 +02:00
Jakub Sokołowski bab901d2d9
upgrade Geth to 1.9.22
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-08 09:37:49 +02:00
Jakub Sokołowski 919802a3e2
use --networkid flag to pick network, use mainnet by default
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-08 15:50:18 +02:00
Jakub Sokołowski a5706e5793
upgrade: 1.9.12 > 1.9.14
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-03 12:27:11 +02:00
Jakub Sokołowski 39d511917c
fix account generation
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-17 01:33:38 +01:00
Jakub Sokołowski 6e270b765b
upgrade 1.9.11 > 1.9.12
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-16 18:30:02 +01:00
Jakub Sokołowski c981226058
fix naming of memory limit variables to use geth_ prefix
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-16 18:30:02 +01:00
Jakub Sokołowski a2b00619fc
upgrade geth 1.9.10 > 1.9.11
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-18 14:27:30 +01:00
Jakub Sokołowski 6d171e4704
upgrade geth: 1.9.8 > 1.9.10
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-29 13:44:01 +01:00
Jakub Sokołowski 2529f70a94
upgrade geth: 1.9.5 > 1.9.8
This is important because of Istanbul fork done in 1.9.7.

See: https://eth.wiki/en/roadmap/istanbul

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-04 14:57:54 +01:00
Jakub Sokołowski df8f0efe47
upgrade Geth: 1.9.1 > 1.9.5
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-30 14:29:58 +02:00
Jakub Sokołowski 61c14f48b4
use name sync check script based on container name
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 15:23:34 -04:00
Jakub Sokołowski d35e1aa301
add cont_restart_policy variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 14:41:42 -04:00
Jakub Sokołowski 8f99abe747
upgrade geth container: 1.9.0 > 1.9.1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 14:24:25 -04:00
Jakub Sokołowski 24e76d12f8
upgrade geth: 1.8.27 > 1.9.0
https://blog.ethereum.org/2019/07/10/geth-v1-9-0/

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-11 12:49:12 -04:00
Jakub Sokołowski 060cdf13d1
add geth_extra_data in form of hostname
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-28 08:30:44 -04:00
Jakub Sokołowski ee62a95038
update comment
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-27 08:22:03 -04:00
Jakub Sokołowski a83e372da7
add flat for enabling metrics
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-14 19:28:57 +02:00
Jakub Sokołowski fbf1b1b9fc
specify geth IPC path
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-10 16:23:49 +02:00
Jakub Sokołowski 3dc350658d
add whisper and miner settings
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-07 14:42:40 +02:00
Jakub Sokołowski 0beccbceef
add task for creating trusted-nodes.json file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-07 14:29:11 +02:00
Jakub Sokołowski a1084b7acb
remove lightpeers option
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-07 12:00:15 +02:00
Jakub Sokołowski a27322f54e
add maxpeers setting
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-07 10:53:21 +02:00
Jakub Sokołowski a72680e561
add a separate rpc service definition
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-06 11:41:21 +02:00
Jakub Sokołowski 5161f2337d
parametrize consul service address
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-06 11:36:45 +02:00
Jakub Sokołowski 558c44c2e1
explain use of consul in readme
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 15:32:25 +02:00
Jakub Sokołowski 8943e8669f
improve account creation, allow specifying account json
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 15:24:37 +02:00
Jakub Sokołowski 14ec2d9147
add geth_extra_alias variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 14:27:49 +02:00
Jakub Sokołowski 7149996e5a
don't use --networkid argument, use pre-configured networks
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 14:04:14 +02:00
Jakub Sokołowski 05aa09ae86
include hostname and hostname with .tinc in rpc vhost aliases
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 13:07:57 +02:00
Jakub Sokołowski fe02beb837
add geth_consul_enabled variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 12:56:06 +02:00
Jakub Sokołowski a362c8d291
enable admin to get enode address
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 12:49:02 +02:00
Jakub Sokołowski 54109fb496
the lightpeers and lightserv options can't be used in light sync mode
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 12:42:54 +02:00
Jakub Sokołowski 484205b03e
fix naming of variables for geth network
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 12:34:42 +02:00
Jakub Sokołowski 88772e38b1
fix saving of account address
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 12:33:57 +02:00
Jakub Sokołowski 414b13909a
use geth_consul_extra_tags to add more tags
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 12:04:06 +02:00
Jakub Sokołowski e273a2483c
add a mapping for log level names
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 11:59:55 +02:00
Jakub Sokołowski 17ba3997aa
add tasks, defailts, and handlers for the role
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 11:54:14 +02:00