mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 06:04:21 +01:00
21 lines
386 B
Python
21 lines
386 B
Python
# Locator
|
|
LOCATOR_LEN_HEX = 32
|
|
LOCATOR_LEN_BYTES = LOCATOR_LEN_HEX // 2
|
|
|
|
# HTTP
|
|
HTTP_OK = 200
|
|
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
|
|
|
|
# Temporary constants, may be changed
|
|
ENCRYPTED_BLOB_MAX_SIZE_HEX = 2 * 2048
|