Skip to content

pay-to-public-key index support #17

@periodic1236

Description

@periodic1236

I like what you've done with indexes built into bitcoind~~, but is there a limit to how many transactions are indexed for a given address?~~

Edge cases are fun, so on block explorers I try to look at addresses with a lot of transactions to see if the balances are computed correctly. After I finished syncing my local bitcore node (v0.3.0), I asked for the balance of the old Deepbit payout address 1VayNert3x1KzbpzMGt2qdqrAThiRovi8.

$ bitcoin-cli getaddressbalance '{"addresses": ["1VayNert3x1KzbpzMGt2qdqrAThiRovi8"]}'
{
  "balance": 872232913,
  "received": 372877163094753
}

Hmm, that's odd. These other block explorers all show a balance of close to 185 BTC.

I connected a copy of Insight UI to my node and found that it only indexed 100,276 transactions for this address (confirmed through the getaddresstxids API call), but there should be 786,916 payments involving it. Is that expected?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions