Skip to content

Database structure

Mathieu Lavoie edited this page Jul 27, 2016 · 1 revision

addresses collection

_id n_id
bitcoin address node id associated to this address

Exemple

_id n_id
1AbHNFdKJeVL8FRZyRZoiTzG9VCmzLrtvm 1

transactions collection

_id source destination source_n_id destination_n_id amount amount_usd block_id trx_date
default MongoDB unique index source address destination address sender (source) node id receiver(destination) node id amount in BTC amount in USD at the time of the transaction block id containing the transaction date of the transaction

Exemple

_id source destination source_n_id destination_n_id amount amount_usd block_id trx_date
ObjectId("...") 1DTD93QJrKyHy3iUNoHDAKLqkZLHbdbvHX 18NmCLiHmbMBDHpEpDpMByeA2VEph6Xvqg 18197 16976 0.5 0.03845 74788 2010-08-17
Clone this wiki locally