Skip to content

Difference in mempool api local vs pubiic #13

@zapomatic

Description

@zapomatic

The public mempool api returns full in/out data whereas the local hosted version returns out subtracted from in (if the backend is set to Fulcrum) so rather than the out fields moving, the values are simply added/removed from the in side.

Should set default monitor settings to all since inputs are ignored by default currently, which makes local hosted mempool servers not talk to telegram on changes (unless the user configures alert all)

example:

curl http://10.21.21.26:3006/api/address/bc1q67csgqm9muhynyd864tj2p48g8gachyg2nwara

{"address":"bc1q67csgqm9muhynyd864tj2p48g8gachyg2nwara","chain_stats":{"funded_txo_count":0,"funded_txo_sum":0,"spent_txo_count":0,"spent_txo_sum":0,"tx_count":2},"mempool_stats":{"funded_txo_count":0,"funded_txo_sum":0,"spent_txo_count":0,"spent_txo_sum":0,"tx_count":0},"electrum":true}

vs

{"address":"bc1q67csgqm9muhynyd864tj2p48g8gachyg2nwara","chain_stats":{"funded_txo_count":1,"funded_txo_sum":600000,"spent_txo_count":1,"spent_txo_sum":600000,"tx_count":2},"mempool_stats":{"funded_txo_count":0,"funded_txo_sum":0,"spent_txo_count":0,"spent_txo_sum":0,"tx_count":0}}

Mempool.space uses Electrs/Esplora, which has full information but is heavier.

Potentially make a docker build of esplora for umbrel app store: https://github.com/Blockstream/esplora

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions