Expand description
Mining config
StructsΒ§
- Config
- Mining configuration section.
- Extra
Coinbase Data - Operator-configured data appended to the coinbase input of every block Zebra builds, after
Zebraβs
π¦marker and:separator. - Extra
Coinbase Data TooLong - The error returned when
ExtraCoinbaseDatais constructed from too many bytes. - MINER_
ADDRESS π - Miner
Address Type Iter - An iterator over the variants of MinerAddressType
EnumsΒ§
- Miner
Address Type - The desired address type for the
mining.miner_addressfield in the config.
ConstantsΒ§
- MAX_
MINER_ πDATA_ LEN - The maximum length of the optional, arbitrary data in the script sig field of a coinbase tx.
- MAX_
USER_ πCOINBASE_ DATA_ LEN - The maximum length of the user-configurable
extra_coinbase_data. - ZEBRA_
COINBASE_ πMARKER - The marker Zebra prepends to the coinbase input of every block it builds.
- ZEBRA_
COINBASE_ πSEPARATOR - Separates
ZEBRA_COINBASE_MARKERfromextra_coinbase_data. Present only when that is set.
FunctionsΒ§
- default_
miner_ address - Returns the hard-coded default miner address string for a given network and address type.