Monero
  • 介绍
  • 区块链
    • checkpoints
    • account
    • cryptonote_basic
    • cryptonote_basic_impl
    • cryptonote_stat_info
    • difficulty
    • hardfork
    • miner
    • subaddress_index
    • tx_extra
    • verification_context
    • blockchain
    • cryptonote_core
    • cryptonote_format_utils
    • cryptonote_core
    • cryptonote_tx_utils
    • tx_pool
  • API/客户端
    • command_server
    • electrum-words
    • core_rpc_server
    • simplewallet
    • wallet_rpc_server
    • wallet2
    • wallet2_api
  • 网络传输
    • connection_context
    • block_queue
    • cryptonote_protocol_defs
    • cryptonote_protocol_handler
    • net_node
    • net_peerlist
    • p2p_protocol_defs
  • 数据存储
    • blockchain_db
    • berkeleydb
    • lmdb
    • blockchain_import
    • blockchain_export
  • 数学/密码学
    • aesb
    • blake256
    • chacha
    • groestl
    • jh
    • keccak
    • random
    • skein
    • slow-hash
    • tree-hash
    • gen_multisig
    • multisig
    • bulletproofs
    • rctOps
    • rctSigs
Powered by GitBook
On this page

Was this helpful?

  1. 区块链

tx_extra

  struct tx_extra_padding
  {
    size_t size;

    // load
    template <template <bool> class Archive>

    // store
    template <template <bool> class Archive>
  };
  struct tx_extra_pub_key
  {
    crypto::public_key pub_key;
  };

  struct tx_extra_nonce
  {
    std::string nonce;
  };
  struct tx_extra_additional_pub_keys
  {
    std::vector<crypto::public_key> data;
  };

  struct tx_extra_mysterious_minergate
  {
    std::string data;
  };
  struct tx_extra_merge_mining_tag
  {
    struct serialize_helper
    {
      tx_extra_merge_mining_tag& mm_tag;

    };

    size_t depth;
    crypto::hash merkle_root;

    // load
    template <template <bool> class Archive>

    // store
    template <template <bool> class Archive>
  };

tx_extra_field

  typedef boost::variant<tx_extra_padding, tx_extra_pub_key, tx_extra_nonce, tx_extra_merge_mining_tag, tx_extra_additional_pub_keys, tx_extra_mysterious_minergate> tx_extra_field;
Previoussubaddress_indexNextverification_context

Last updated 5 years ago

Was this helpful?