Vaulta

utxomng.xsat

Contract

The data structures defined by this contract.

  • Action parameter in addblock

    {
      "name": "addblock",
      "base": "",
      "fields": [
        {
          "name": "height",
          "type": "uint64"
        },
        {
          "name": "hash",
          "type": "checksum256"
        },
        {
          "name": "cumulative_work",
          "type": "checksum256"
        },
        {
          "name": "version",
          "type": "uint32"
        },
        {
          "name": "previous_block_hash",
          "type": "checksum256"
        },
        {
          "name": "merkle",
          "type": "checksum256"
        },
        {
          "name": "timestamp",
          "type": "uint32"
        },
        {
          "name": "bits",
          "type": "uint32"
        },
        {
          "name": "nonce",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in addutxo

    {
      "name": "addutxo",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "txid",
          "type": "checksum256"
        },
        {
          "name": "index",
          "type": "uint32"
        },
        {
          "name": "scriptpubkey",
          "type": "bytes"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    }
  • Table row type of block.extra

    {
      "name": "block_extra_row",
      "base": "",
      "fields": [
        {
          "name": "height",
          "type": "uint64"
        },
        {
          "name": "bucket_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of blocks

    {
      "name": "block_row",
      "base": "",
      "fields": [
        {
          "name": "height",
          "type": "uint64"
        },
        {
          "name": "hash",
          "type": "checksum256"
        },
        {
          "name": "cumulative_work",
          "type": "checksum256"
        },
        {
          "name": "version",
          "type": "uint32"
        },
        {
          "name": "previous_block_hash",
          "type": "checksum256"
        },
        {
          "name": "merkle",
          "type": "checksum256"
        },
        {
          "name": "timestamp",
          "type": "uint32"
        },
        {
          "name": "bits",
          "type": "uint32"
        },
        {
          "name": "nonce",
          "type": "uint32"
        }
      ]
    }
  • Table row type of chainstate

    {
      "name": "chain_state_row",
      "base": "",
      "fields": [
        {
          "name": "num_utxos",
          "type": "uint64"
        },
        {
          "name": "head_height",
          "type": "uint64"
        },
        {
          "name": "irreversible_height",
          "type": "uint64"
        },
        {
          "name": "irreversible_hash",
          "type": "checksum256"
        },
        {
          "name": "migrating_height",
          "type": "uint64"
        },
        {
          "name": "migrating_hash",
          "type": "checksum256"
        },
        {
          "name": "migrating_num_utxos",
          "type": "uint64"
        },
        {
          "name": "migrated_num_utxos",
          "type": "uint64"
        },
        {
          "name": "num_provider_validators",
          "type": "uint32"
        },
        {
          "name": "num_validators_assigned",
          "type": "uint32"
        },
        {
          "name": "miner",
          "type": "name"
        },
        {
          "name": "synchronizer",
          "type": "name"
        },
        {
          "name": "parser",
          "type": "name"
        },
        {
          "name": "parsed_height",
          "type": "uint64"
        },
        {
          "name": "parsing_height",
          "type": "uint64"
        },
        {
          "name": "parsing_progress_of",
          "type": "pair_checksum256_parsing_progress_row[]"
        },
        {
          "name": "status",
          "type": "parsing_status"
        }
      ]
    }
  • Action parameter in config

    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "parse_timeout_seconds",
          "type": "uint16"
        },
        {
          "name": "num_validators_per_distribution",
          "type": "uint16"
        },
        {
          "name": "retained_spent_utxo_blocks",
          "type": "uint16"
        },
        {
          "name": "num_retain_data_blocks",
          "type": "uint16"
        },
        {
          "name": "num_merkle_layer",
          "type": "uint8"
        },
        {
          "name": "num_miner_priority_blocks",
          "type": "uint16"
        }
      ]
    }
  • Table row type of config

    {
      "name": "config_row",
      "base": "",
      "fields": [
        {
          "name": "parse_timeout_seconds",
          "type": "uint16"
        },
        {
          "name": "num_validators_per_distribution",
          "type": "uint16"
        },
        {
          "name": "num_retain_data_blocks",
          "type": "uint16"
        },
        {
          "name": "retained_spent_utxo_blocks",
          "type": "uint16"
        },
        {
          "name": "num_txs_per_verification",
          "type": "uint16"
        },
        {
          "name": "num_merkle_layer",
          "type": "uint8"
        },
        {
          "name": "num_miner_priority_blocks",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in consensus

    {
      "name": "consensus",
      "base": "",
      "fields": [
        {
          "name": "height",
          "type": "uint64"
        },
        {
          "name": "hash",
          "type": "checksum256"
        }
      ]
    }
  • Table row type of consensusblk

    {
      "name": "consensus_block_row",
      "base": "",
      "fields": [
        {
          "name": "bucket_id",
          "type": "uint64"
        },
        {
          "name": "height",
          "type": "uint64"
        },
        {
          "name": "hash",
          "type": "checksum256"
        },
        {
          "name": "cumulative_work",
          "type": "checksum256"
        },
        {
          "name": "version",
          "type": "uint32"
        },
        {
          "name": "previous_block_hash",
          "type": "checksum256"
        },
        {
          "name": "merkle",
          "type": "checksum256"
        },
        {
          "name": "timestamp",
          "type": "uint32"
        },
        {
          "name": "bits",
          "type": "uint32"
        },
        {
          "name": "nonce",
          "type": "uint32"
        },
        {
          "name": "miner",
          "type": "name"
        },
        {
          "name": "synchronizer",
          "type": "name"
        },
        {
          "name": "parser",
          "type": "name"
        },
        {
          "name": "num_utxos",
          "type": "uint64"
        },
        {
          "name": "irreversible",
          "type": "bool"
        },
        {
          "name": "parse",
          "type": "bool"
        },
        {
          "name": "created_at",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in delblock

    {
      "name": "delblock",
      "base": "",
      "fields": [
        {
          "name": "height",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in delblockdata

    {
      "name": "delblockdata",
      "base": "",
      "fields": [
        {
          "name": "rows",
          "type": "uint64"
        },
        {
          "name": "nonce",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in delspentutxo

    {
      "name": "delspentutxo",
      "base": "",
      "fields": [
        {
          "name": "rows",
          "type": "uint64"
        },
        {
          "name": "nonce",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in delutxo

    {
      "name": "delutxo",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "height",
          "type": "uint64"
        },
        {
          "name": "hash",
          "type": "checksum256"
        },
        {
          "name": "cumulative_work",
          "type": "checksum256"
        }
      ]
    }
  • Action parameter in lostutxolog

    {
      "name": "lostutxolog",
      "base": "",
      "fields": [
        {
          "name": "tx_id",
          "type": "checksum256"
        },
        {
          "name": "index",
          "type": "uint32"
        }
      ]
    }
  • {
      "name": "pair_checksum256_parsing_progress_row",
      "base": "",
      "fields": [
        {
          "name": "first",
          "type": "checksum256"
        },
        {
          "name": "second",
          "type": "parsing_progress_row"
        }
      ]
    }
  • {
      "name": "parsing_progress_row",
      "base": "",
      "fields": [
        {
          "name": "bucket_id",
          "type": "uint64"
        },
        {
          "name": "num_utxos",
          "type": "uint64"
        },
        {
          "name": "num_transactions",
          "type": "uint64"
        },
        {
          "name": "parsed_transactions",
          "type": "uint64"
        },
        {
          "name": "parsed_position",
          "type": "uint64"
        },
        {
          "name": "parsed_vin",
          "type": "uint64"
        },
        {
          "name": "parsed_vout",
          "type": "uint64"
        },
        {
          "name": "parser",
          "type": "name"
        },
        {
          "name": "parse_expiration_time",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of pendingutxos

    {
      "name": "pending_utxo_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "height",
          "type": "uint64"
        },
        {
          "name": "hash",
          "type": "checksum256"
        },
        {
          "name": "txid",
          "type": "checksum256"
        },
        {
          "name": "index",
          "type": "uint32"
        },
        {
          "name": "scriptpubkey",
          "type": "bytes"
        },
        {
          "name": "value",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "name"
        }
      ]
    }
  • Action return type for processblock

    {
      "name": "process_block_result",
      "base": "",
      "fields": [
        {
          "name": "status",
          "type": "string"
        },
        {
          "name": "height",
          "type": "uint64"
        },
        {
          "name": "block_hash",
          "type": "checksum256"
        }
      ]
    }
  • Action parameter in processblock

    {
      "name": "processblock",
      "base": "",
      "fields": [
        {
          "name": "synchronizer",
          "type": "name"
        },
        {
          "name": "process_rows",
          "type": "uint64"
        },
        {
          "name": "nonce",
          "type": "uint64"
        }
      ]
    }
  • Table row type of spentutxos

    {
      "name": "spent_utxo_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "height",
          "type": "uint64"
        },
        {
          "name": "txid",
          "type": "checksum256"
        },
        {
          "name": "index",
          "type": "uint32"
        },
        {
          "name": "scriptpubkey",
          "type": "bytes"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    }
  • Table row type of utxos

    {
      "name": "utxo_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "txid",
          "type": "checksum256"
        },
        {
          "name": "index",
          "type": "uint32"
        },
        {
          "name": "scriptpubkey",
          "type": "bytes"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    }