无用文件。
const FUNDS_BUCKET = "FUNDS" // stores all incoming funds, key is global output index encrypted form
const FUNDS_AVAILABLE = "FUNDS_AVAILABLE" // indices of all funds ready to spend
const FUNDS_SPENT = "FUNDS_SPENT" // indices of all funds already spent
const FUNDS_SPENT_WHERE = "FUNDS_SPENT_WHERE" // mapping which output -> spent where
const FUNDS_BUCKET_OUTGOING = "FUNDS_OUTGOING" // stores all tx where our funds were spent
const RING_BUCKET = "RING_BUCKET" // to randomly choose ring members when transactions are created
const KEYIMAGE_BUCKET = "KEYIMAGE_BUCKET" // used to track which funds have been spent (only on chain ) and which output was consumed
const SECRET_KEY_BUCKET = "TXSECRETKEY" // used to keep secret keys for any tx this wallet has created
const TX_OUT_DETAILS_BUCKET = "TX_OUT_DETAILS" // used to keep secret keys for any tx this wallet has created
const HEIGHT_TO_BLOCK_BUCKET = "H2BLOCK_BUCKET" // used to track height to block hash mapping
const OUR_TX_BUCKET = "OUR_TX_BUCKET" // this contains all TXs in which we have spent OUR FUNDS
// the strings are prepended so as there can NEVER be collision between TXID and payment ID
// as paymentID are chosen by users
const TXID = "TXID" // all TX to output index will have this string prepended
const PAYID = "PAYID" // all payment ID to output index will have this string prepended,
// PAYMENT ID itself is a bucket, TODO COLLISIONS ???
//const FUNDS_BY_PAYMENT_ID_BUCKET ="PAYMENTID_BUCKET" // each payment id is a bucket itself, which stores OUTPUT_INDEX
//const FUNDS_BY_PAYMENT_ID_BUCKET = 10 // each payment id is a bucket itself
const FUNDS_BY_TX_ID_BUCKET = 11 // each tx id is a bucket
const FUNDS_BY_BLOCK_HEIGHT_BUCKET = 12 // funds sorted by block height
const FUNDS_SPENT_BY_BLOCK_HEIGHT_BUCKET = 13 // funds spent by block height
const NOTES_BY_TXID = 14 // any notes attached