general - Adds default RPC port based on network param

This commit is contained in:
Sergi Delgado Segura
2020-06-11 15:59:08 +02:00
parent 4621a08dc5
commit 782806595c
6 changed files with 66 additions and 27 deletions

View File

@@ -8,6 +8,11 @@ HTTP_BAD_REQUEST = 400
HTTP_NOT_FOUND = 404
HTTP_SERVICE_UNAVAILABLE = 503
# Bitcoin
MAINNET_RPC_PORT = 8332
TESTNET_RPC_PORT = 18332
REGTEST_RPC_PORT = 18443
# LN general nomenclature
IRREVOCABLY_RESOLVED = 100