feat: add groestlcoin regtest mode

This commit is contained in:
gruve-p 2021-09-21 13:33:04 +02:00 committed by Martin
parent 707166d1ce
commit 6a9852c463
3 changed files with 75 additions and 0 deletions

View File

@ -97,6 +97,7 @@ func init() {
BlockChainFactories["Liquid"] = liquid.NewLiquidRPC
BlockChainFactories["Groestlcoin"] = grs.NewGroestlcoinRPC
BlockChainFactories["Groestlcoin Testnet"] = grs.NewGroestlcoinRPC
BlockChainFactories["Groestlcoin Regtest"] = grs.NewGroestlcoinRPC
BlockChainFactories["PIVX"] = pivx.NewPivXRPC
BlockChainFactories["PIVX Testnet"] = pivx.NewPivXRPC
BlockChainFactories["Polis"] = polis.NewPolisRPC

View File

@ -0,0 +1,73 @@
{
"coin": {
"name": "Groestlcoin Regtest",
"shortcut": "rGRS",
"label": "Groestlcoin Regtest",
"alias": "groestlcoin_regtest"
},
"ports": {
"backend_rpc": 18046,
"backend_message_queue": 48346,
"blockbook_internal": 19046,
"blockbook_public": 19146
},
"ipc": {
"rpc_url_template": "http://127.0.0.1:{{.Ports.BackendRPC}}",
"rpc_user": "rpc",
"rpc_pass": "rpc",
"rpc_timeout": 25,
"message_queue_binding_template": "tcp://127.0.0.1:{{.Ports.BackendMessageQueue}}"
},
"backend": {
"package_name": "backend-groestlcoin-regtest",
"package_revision": "satoshilabs-1",
"system_user": "groestlcoin",
"version": "22.0",
"binary_url": "https://github.com/Groestlcoin/groestlcoin/releases/download/v22.0/groestlcoin-22.0-x86_64-linux-gnu.tar.gz",
"verification_type": "sha256",
"verification_source": "b30c5353dd3d9cfd7e8b31f29eac125925751165f690bacff57effd76560dddd",
"extract_command": "tar -C backend --strip 1 -xf",
"exclude_files": [
"bin/groestlcoin-qt"
],
"exec_command_template": "{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/bin/groestlcoind -datadir={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend -conf={{.Env.BackendInstallPath}}/{{.Coin.Alias}}/{{.Coin.Alias}}.conf -pid=/run/{{.Coin.Alias}}/{{.Coin.Alias}}.pid",
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/regtest/*.log",
"postinst_script_template": "",
"service_type": "forking",
"service_additional_params_template": "",
"protect_memory": true,
"mainnet": false,
"server_config_file": "bitcoin_regtest.conf",
"client_config_file": "bitcoin_client.conf",
"additional_params": {
"deprecatedrpc": "estimatefee",
"whitelist": "127.0.0.1"
}
},
"blockbook": {
"package_name": "blockbook-groestlcoin-regtest",
"system_user": "blockbook-groestlcoin",
"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": 300,
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": 71979618,
"xpub_magic_segwit_native": 73342198,
"slip44": 1,
"additional_params": {
"fiat_rates": "coingecko",
"fiat_rates_params": "{\"url\": \"https://api.coingecko.com/api/v3\", \"coin\": \"groestlcoin\", \"periodSeconds\": 60}"
}
}
},
"meta": {
"package_maintainer": "Groestlcoin Development Team",
"package_maintainer_email": "jackie@groestlcoin.org"
}
}

View File

@ -60,6 +60,7 @@
| Monacoin Testnet | 19041 | 19141 | 18041 | 48341 |
| DigiByte Testnet | 19042 | 19142 | 18042 | 48342 |
| Groestlcoin Testnet | 19045 | 19145 | 18045 | 48345 |
| Groestlcoin Regtest | 19046 | 19146 | 18046 | 48346 |
| PIVX Testnet | 19049 | 19149 | 18049 | 48349 |
| Koto Testnet | 19051 | 19151 | 18051 | 48351 |
| Decred Testnet | 19061 | 19161 | 18061 | 48361 |