Constant zebra_rpc::methods::get_block_template_rpcs::types::zec::MAX_ZEC_FORMAT_PRECISION
source · pub const MAX_ZEC_FORMAT_PRECISION: usize = 8;
Expand description
The maximum precision of a zatoshi in ZEC. Also used as the default decimal precision for ZEC formatting.
This is the same as the getblocksubsidy
RPC in zcashd
:
https://github.com/zcash/zcash/blob/f6a4f68115ea4c58d55c8538579d0877ba9c8f79/src/rpc/server.cpp#L134