Skip to content

Instantly share code, notes, and snippets.

@warptangent
Created February 16, 2016 21:44
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save warptangent/1bbae9b3921506e62855 to your computer and use it in GitHub Desktop.
Save warptangent/1bbae9b3921506e62855 to your computer and use it in GitHub Desktop.
blocks
uint64_t -> blobdata (block_to_blob(blk))
block_timestamps
uint64_t -> uint64_t
block_heights
crypto::hash -> uint64_t
block_hashes
uint64_t -> crypto::hash
block_sizes
uint64_t -> size_t
block_diffs
uint64_t -> difficulty_type
block_coins
uint64_t -> uint64_t
txs
crypto::hash -> blobdata (tx_to_blob(tx))
tx_unlocks
crypto::hash -> uint64_t (tx.unlock_time)
tx_heights
crypto::hash -> uint64_t (m_height)
tx_outputs
crypto::hash -> uint64_t (global output index)
output_txs
uint64_t (m_num_outputs) -> crypto::hash (tx_hash)
output_indices
uint64_t (m_num_outputs) -> uint64_t (val_local_index)
output_amounts
uint64_t (amount) -> dup list of global output indices
output_keys
uint64_t (m_num_outputs) -> output_data_t (txout_to_key)
spent_keys
crypto::key_image -> NULL
hf_starting_heights
hf_versions
properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment