Remove Goerli

Remove
This commit is contained in:
AdamSchinzel
2024-03-22 06:59:45 +01:00
committed by Martin
parent b5cfbdfde5
commit 3c57a0c010
11 changed files with 2 additions and 302 deletions

View File

@@ -157,15 +157,4 @@ backend-deploy-and-test-zcash_testnet:
- configs/coins/zcash_testnet.json
tags:
- blockbook
script: ./contrib/scripts/backend-deploy-and-test.sh zcash_testnet zcash-testnet zcash=test testnet3/debug.log
# backend-deploy-and-test-goerli-archive:
# stage: backend-deploy-and-test
# only:
# refs:
# - master
# changes:
# - configs/coins/ethereum_testnet_goerli_archive.json
# tags:
# - blockbook
# script: ./contrib/scripts/backend-deploy-and-test.sh ethereum_testnet_goerli_archive ethereum-testnet-goerli-archive ethereum=test ethereum_testnet_goerli_archive.log
script: ./contrib/scripts/backend-deploy-and-test.sh zcash_testnet zcash-testnet zcash=test testnet3/debug.log

View File

@@ -35,7 +35,7 @@ the rest of coins were implemented by the community.
Testnets for some coins are also supported, for example:
- Bitcoin Testnet, Bitcoin Cash Testnet, ZCash Testnet, Ethereum Testnets (Goerli, Sepolia, Holesky)
- Bitcoin Testnet, Bitcoin Cash Testnet, ZCash Testnet, Ethereum Testnets (Sepolia, Holesky)
List of all implemented coins is in [the registry of ports](/docs/ports.md).

View File

@@ -73,8 +73,6 @@ func init() {
BlockChainFactories["Ethereum"] = eth.NewEthereumRPC
BlockChainFactories["Ethereum Archive"] = eth.NewEthereumRPC
BlockChainFactories["Ethereum Classic"] = eth.NewEthereumRPC
BlockChainFactories["Ethereum Testnet Goerli"] = eth.NewEthereumRPC
BlockChainFactories["Ethereum Testnet Goerli Archive"] = eth.NewEthereumRPC
BlockChainFactories["Ethereum Testnet Sepolia"] = eth.NewEthereumRPC
BlockChainFactories["Ethereum Testnet Sepolia Archive"] = eth.NewEthereumRPC
BlockChainFactories["Ethereum Testnet Holesky"] = eth.NewEthereumRPC

View File

@@ -30,8 +30,6 @@ type Network uint32
const (
// MainNet is production network
MainNet Network = 1
// TestNetGoerli is Goerli test network
TestNetGoerli Network = 5
// TestNetSepolia is Sepolia test network
TestNetSepolia Network = 11155111
// TestNetHolesky is Holesky test network
@@ -146,9 +144,6 @@ func (b *EthereumRPC) Initialize() error {
case MainNet:
b.Testnet = false
b.Network = "livenet"
case TestNetGoerli:
b.Testnet = true
b.Network = "goerli"
case TestNetSepolia:
b.Testnet = true
b.Network = "sepolia"

View File

@@ -1,70 +0,0 @@
{
"coin": {
"name": "Ethereum Testnet Goerli",
"shortcut": "tGOR",
"label": "Ethereum Goerli",
"alias": "ethereum_testnet_goerli"
},
"ports": {
"backend_rpc": 18026,
"backend_message_queue": 0,
"backend_p2p": 48326,
"backend_http": 18126,
"backend_authrpc": 18526,
"blockbook_internal": 19026,
"blockbook_public": 19126
},
"ipc": {
"rpc_url_template": "ws://127.0.0.1:{{.Ports.BackendRPC}}",
"rpc_timeout": 25
},
"backend": {
"package_name": "backend-ethereum-testnet-goerli",
"package_revision": "satoshilabs-1",
"system_user": "ethereum",
"version": "2.58.2",
"binary_url": "https://github.com/ledgerwatch/erigon/releases/download/v2.58.2/erigon_2.58.2_linux_amd64.tar.gz",
"verification_type": "sha256",
"verification_source": "3e43bbf2276b4d003cd0630c35bf29fb8ff0b90e4cb9a120f1035111a171c03f",
"extract_command": "tar -C backend -xf",
"exclude_files": [],
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/erigon --chain goerli --snap.keepblocks --db.size.limit 15TB --prune c --prune.c.older 1000000 -torrent.download.rate 32mb --nat none --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/erigon --port {{.Ports.BackendP2P}} --ws --ws.port {{.Ports.BackendRPC}} --http --http.port {{.Ports.BackendRPC}} --http.addr 127.0.0.1 --http.corsdomain \"*\" --http.vhosts \"*\" --http.api \"eth,net,web3,debug,txpool\" --authrpc.port {{.Ports.BackendAuthRpc}} --private.api.addr \"\" --torrent.port {{.Ports.BackendHttp}} --log.dir.path {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --log.dir.prefix {{.Coin.Alias}}'",
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
"postinst_script_template": "",
"service_type": "simple",
"service_additional_params_template": "",
"protect_memory": true,
"mainnet": false,
"server_config_file": "",
"client_config_file": "",
"platforms": {
"arm64": {
"binary_url": "https://github.com/ledgerwatch/erigon/releases/download/v2.58.2/erigon_2.58.2_linux_arm64.tar.gz",
"verification_source": "393926ccf97a99cb351501edf90235805f91190782b4b59a7ca83022ea937c4c"
}
}
},
"blockbook": {
"package_name": "blockbook-ethereum-testnet-goerli",
"system_user": "blockbook-ethereum",
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
"explorer_url": "",
"additional_params": "",
"block_chain": {
"parse": true,
"mempool_workers": 8,
"mempool_sub_workers": 2,
"block_addresses_to_keep": 3000,
"additional_params": {
"consensusNodeVersion": "http://localhost:17526/eth/v1/node/version",
"mempoolTxTimeoutHours": 12,
"queryBackendOnMempoolResync": false
}
}
},
"meta": {
"package_maintainer": "IT",
"package_maintainer_email": "it@satoshilabs.com"
}
}

View File

@@ -1,76 +0,0 @@
{
"coin": {
"name": "Ethereum Testnet Goerli Archive",
"shortcut": "tGOR",
"label": "Ethereum Goerli",
"alias": "ethereum_testnet_goerli_archive"
},
"ports": {
"backend_rpc": 18006,
"backend_message_queue": 0,
"backend_p2p": 48306,
"backend_http": 18106,
"backend_torrent": 18106,
"backend_authrpc": 18506,
"blockbook_internal": 19006,
"blockbook_public": 19106
},
"ipc": {
"rpc_url_template": "ws://127.0.0.1:{{.Ports.BackendRPC}}",
"rpc_timeout": 25
},
"backend": {
"package_name": "backend-ethereum-testnet-goerli-archive",
"package_revision": "satoshilabs-1",
"system_user": "ethereum",
"version": "2.58.2",
"binary_url": "https://github.com/ledgerwatch/erigon/releases/download/v2.58.2/erigon_2.58.2_linux_amd64.tar.gz",
"verification_type": "sha256",
"verification_source": "3e43bbf2276b4d003cd0630c35bf29fb8ff0b90e4cb9a120f1035111a171c03f",
"extract_command": "tar -C backend -xf",
"exclude_files": [],
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/erigon --chain goerli --snap.keepblocks --db.size.limit 15TB --prune c --prune.c.older 1000000 -torrent.download.rate 32mb --nat none --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/erigon --port {{.Ports.BackendP2P}} --ws --ws.port {{.Ports.BackendRPC}} --http --http.port {{.Ports.BackendRPC}} --http.addr 127.0.0.1 --http.corsdomain \"*\" --http.vhosts \"*\" --http.api \"eth,net,web3,debug,txpool\" --authrpc.port {{.Ports.BackendAuthRpc}} --private.api.addr \"\" --torrent.port {{.Ports.BackendHttp}} --log.dir.path {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --log.dir.prefix {{.Coin.Alias}}'",
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
"postinst_script_template": "",
"service_type": "simple",
"service_additional_params_template": "",
"protect_memory": true,
"mainnet": false,
"server_config_file": "",
"client_config_file": "",
"platforms": {
"arm64": {
"binary_url": "https://github.com/ledgerwatch/erigon/releases/download/v2.58.2/erigon_2.58.2_linux_arm64.tar.gz",
"verification_source": "393926ccf97a99cb351501edf90235805f91190782b4b59a7ca83022ea937c4c"
}
}
},
"blockbook": {
"package_name": "blockbook-ethereum-testnet-goerli-archive",
"system_user": "blockbook-ethereum",
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
"explorer_url": "",
"additional_params": "-workers=16",
"block_chain": {
"parse": true,
"mempool_workers": 8,
"mempool_sub_workers": 2,
"block_addresses_to_keep": 3000,
"additional_params": {
"consensusNodeVersion": "http://localhost:17506/eth/v1/node/version",
"address_aliases": true,
"mempoolTxTimeoutHours": 12,
"processInternalTransactions": true,
"queryBackendOnMempoolResync": false,
"fiat_rates-disabled": "coingecko",
"fiat_rates_params": "{\"coin\": \"ethereum\",\"platformIdentifier\": \"ethereum\",\"platformVsCurrency\": \"eth\",\"periodSeconds\": 900}",
"fourByteSignatures": "https://www.4byte.directory/api/v1/signatures/"
}
}
},
"meta": {
"package_maintainer": "IT",
"package_maintainer_email": "it@satoshilabs.com"
}
}

View File

@@ -1,48 +0,0 @@
{
"coin": {
"name": "Ethereum Testnet Goerli Archive",
"shortcut": "tGOR",
"label": "Ethereum Goerli",
"alias": "ethereum_testnet_goerli_archive_consensus",
"execution_alias": "ethereum_testnet_goerli_archive"
},
"ports": {
"backend_rpc": 18006,
"backend_message_queue": 0,
"backend_p2p": 48306,
"backend_http": 18106,
"backend_authrpc": 18506,
"blockbook_internal": 19006,
"blockbook_public": 19106
},
"backend": {
"package_name": "backend-ethereum-testnet-goerli-archive-consensus",
"package_revision": "satoshilabs-1",
"system_user": "ethereum",
"version": "5.0.1",
"binary_url": "https://github.com/prysmaticlabs/prysm/releases/download/v5.0.1/beacon-chain-v5.0.1-linux-amd64",
"verification_type": "sha256",
"verification_source": "2bb8c7a26021dbc0e067e841d996fd4f6d21f633d1a9fe64bb2a73c35f222e35",
"extract_command": "mv ${ARCHIVE} backend/beacon-chain && chmod +x backend/beacon-chain && echo",
"exclude_files": [],
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/beacon-chain --prater --accept-terms-of-use --execution-endpoint=http://localhost:{{.Ports.BackendAuthRpc}} --grpc-gateway-port=17506 --rpc-port=17507 --monitoring-port=17508 --p2p-tcp-port=13506 --p2p-udp-port=12506 --datadir={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --jwt-secret={{.Env.BackendDataPath}}/ethereum_testnet_goerli_archive/backend/erigon/jwt.hex --genesis-state={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/genesis.ssz 2>>{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
"postinst_script_template": "wget https://github.com/eth-clients/goerli/raw/main/prater/genesis.ssz -O {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/genesis.ssz",
"service_type": "simple",
"service_additional_params_template": "",
"protect_memory": true,
"mainnet": false,
"server_config_file": "",
"client_config_file": "",
"platforms": {
"arm64": {
"binary_url": "https://github.com/prysmaticlabs/prysm/releases/download/v5.0.1/beacon-chain-v5.0.1-linux-arm64",
"verification_source": "e970f997c4caf645b310ad839f0f00748f23fb5a522de340bad80a47271b6710"
}
}
},
"meta": {
"package_maintainer": "IT",
"package_maintainer_email": "it@satoshilabs.com"
}
}

View File

@@ -1,48 +0,0 @@
{
"coin": {
"name": "Ethereum Testnet Goerli",
"shortcut": "tGOR",
"label": "Ethereum Goerli",
"alias": "ethereum_testnet_goerli_consensus",
"execution_alias": "ethereum_testnet_goerli"
},
"ports": {
"backend_rpc": 18026,
"backend_message_queue": 0,
"backend_p2p": 48326,
"backend_http": 18126,
"backend_authrpc": 18526,
"blockbook_internal": 19026,
"blockbook_public": 19126
},
"backend": {
"package_name": "backend-ethereum-testnet-goerli-consensus",
"package_revision": "satoshilabs-1",
"system_user": "ethereum",
"version": "5.0.1",
"binary_url": "https://github.com/prysmaticlabs/prysm/releases/download/v5.0.1/beacon-chain-v5.0.1-linux-amd64",
"verification_type": "sha256",
"verification_source": "2bb8c7a26021dbc0e067e841d996fd4f6d21f633d1a9fe64bb2a73c35f222e35",
"extract_command": "mv ${ARCHIVE} backend/beacon-chain && chmod +x backend/beacon-chain && echo",
"exclude_files": [],
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/beacon-chain --prater --accept-terms-of-use --execution-endpoint=http://localhost:{{.Ports.BackendAuthRpc}} --grpc-gateway-port=17526 --rpc-port=17527 --monitoring-port=17528 --p2p-tcp-port=13526 --p2p-udp-port=12526 --datadir={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --jwt-secret={{.Env.BackendDataPath}}/ethereum_testnet_goerli/backend/erigon/jwt.hex --genesis-state={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/genesis.ssz 2>>{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
"postinst_script_template": "wget https://github.com/eth-clients/goerli/raw/main/prater/genesis.ssz -O {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/genesis.ssz",
"service_type": "simple",
"service_additional_params_template": "",
"protect_memory": true,
"mainnet": false,
"server_config_file": "",
"client_config_file": "",
"platforms": {
"arm64": {
"binary_url": "https://github.com/prysmaticlabs/prysm/releases/download/v5.0.1/beacon-chain-v5.0.1-linux-arm64",
"verification_source": "e970f997c4caf645b310ad839f0f00748f23fb5a522de340bad80a47271b6710"
}
}
},
"meta": {
"package_maintainer": "IT",
"package_maintainer_email": "it@satoshilabs.com"
}
}

View File

@@ -53,11 +53,9 @@
| eCash | 9197 | 9097 | 8097 | 38397 |
| Avalanche | 9198 | 9098 | 8098 | 38398 p2p |
| Avalanche Archive | 9199 | 9099 | 8099 | 38399 p2p |
| Ethereum Testnet Goerli Archive | 19106 | 19006 | 18006 | 18106 http, 18506 authrpc, 48306 p2p |
| Ethereum Testnet Holesky | 19116 | 19016 | 18016 | 18116 http, 18516 authrpc, 48316 p2p |
| Bitcoin Signet | 19120 | 19020 | 18020 | 48320 |
| Bitcoin Regtest | 19121 | 19021 | 18021 | 48321 |
| Ethereum Testnet Goerli | 19126 | 19026 | 18026 | 18126 http, 18526 authrpc, 48326 p2p |
| Bitcoin Testnet | 19130 | 19030 | 18030 | 48330 |
| Bitcoin Cash Testnet | 19131 | 19031 | 18031 | 48331 |
| Zcash Testnet | 19132 | 19032 | 18032 | 48332 |

View File

@@ -1,34 +0,0 @@
{
"blockHeight": 6509294,
"blockHash": "0x55eced8804c4358572c612e5507994590db91000db483d4f30588be2e85a31ca",
"blockTime": 1646866921,
"blockSize": 60725,
"blockTxs": [
"0x583468dcbc06bd14a523a5809872b2cd0be9481f24380e78463337e79740135f",
"0x4ff5b60fceab52918f2e1f9d39c125c8c5856fa2349003c6d163225a145e34db",
"0xa08ca828de3986f3d182dc13c7293068ec5d64d63221a196b5e589fec10a448a",
"0x43dad1209906ad2866cc9bb5e0309530b6ab744b55f62c5c66406197b64583ae",
"0x43a8f9a93060681a466f918dd90d836fe089115e8c92a4b13e37b2982ba76090",
"0x1d1184e4d4b125e7017ad0ea8fafd59d34ea848abc88a0b0afa648b5d148ff53"
],
"txDetails": {
"0x1d1184e4d4b125e7017ad0ea8fafd59d34ea848abc88a0b0afa648b5d148ff53": {
"txid": "0x1d1184e4d4b125e7017ad0ea8fafd59d34ea848abc88a0b0afa648b5d148ff53",
"blocktime": 1646866921,
"time": 1646866921,
"vin": [
{
"addresses": ["0x68A3E5Ec00Ec5880Fae10CB69f047fa42Cd2d32C"]
}
],
"vout": [
{
"value": 0.4,
"scriptPubKey": {
"addresses": ["0x71F33321375494206d23Cc3950A923a9b4c615A4"]
}
}
]
}
}
}

View File

@@ -103,10 +103,6 @@
"GetBestBlockHash", "GetBestBlockHeight", "GetBlockHeader"],
"sync": ["ConnectBlocksParallel", "ConnectBlocks", "HandleFork"]
},
"ethereum_testnet_goerli_archive": {
"rpc": ["GetBlock", "GetBlockHash", "GetTransaction", "EstimateFee", "GetBestBlockHash", "GetBestBlockHeight",
"GetBlockHeader"]
},
"flo": {
"rpc": ["GetBlock", "GetBlockHash", "GetTransaction", "GetTransactionForMempool", "MempoolSync",
"EstimateSmartFee", "EstimateFee", "GetBestBlockHash", "GetBestBlockHeight", "GetBlockHeader"],