Skip to content

Add MempoolScape Bitcoin mempool logs dataset - #100

Open
b10claude wants to merge 1 commit into
bitcoin-data:mainfrom
b10claude:add-mempoolscape-logs
Open

b10claude wants to merge 1 commit into
bitcoin-data:mainfrom
b10claude:add-mempoolscape-logs

Conversation

@b10claude

Copy link
Copy Markdown

Adds datasets/mempoolscape-logs.toml.

Sources

Every claim in the entry, and what backs it.

What one record is, and the format

  • The Kaggle description: "By modifying the bitcoin-core, we created two
    different logs, one when the transaction entered the mempool called
    'Log_In.json' and 'Log_out.json'. These logs help create this dataset that
    can present a snapshot of the mempool." That is the basis for "one record per
    transaction entering the mempool and one per transaction leaving it", and for
    format = ["json"].
  • The same description notes the published fields are partly derived: "Some
    features are primitive fields and others are derived or mapped to create this
    dataset."

Where it comes from

  • The Kaggle description's acknowledgement: "This dataset is derived from the
    Nodes that were maintained by the 'Blockchain lab', SEECS, National
    University of Sciences and Technology". The uploading account is Haseeb
    Saeed, named in the entry's author field alongside the lab.
  • Bitcoin Core was patched rather than polled, per the same text — which is why
    the entry says "patched Bitcoin Core to write the two logs".

Period

  • The dataset's own title names the window: "Exploring MempoolScape: Bitcoin
    Mempool Logs Dataset Dec'20-Feb'21". Hence period_start = "2020-12" and
    period_end = "2021-02" at month precision, since no exact dates are given.

The caveat

  • A mempool is per-node, not global: these logs record what the lab's own nodes
    saw. Nothing in the dataset claims network-wide coverage, so the entry says
    the view is the operators' own nodes.

Licence

  • Kaggle reports licenseName "CC BY-SA 4.0" for the dataset, read from
    /api/v1/datasets/view/itshaseebsaeed/bitcoin-mempool-state-data.

Why this one and not the larger mempool dataset

  • mempoolstate/mempool-state-bitcoin on Kaggle is a bigger collection of the
    same kind (42.8 GB, 90 days, ~30M transactions, also from an instrumented
    src/txmempool.cpp), tied to the Carbyne and Cuckoo's Nest papers and the
    hbhaq GitHub account. I left it out because its Kaggle licence is
    "Unknown" and the uploading account is anonymous. Worth revisiting if someone
    asks the authors for a licence.

Not verified / left out

  • The file list, for the usual Kaggle reason: listing needs an account.
  • The exact field set of the published records, beyond the two log sources.
  • Kaggle reports 3,562,599,246 bytes, version 1.
  • The paper is on ResearchGate only; I found no DOI or peer-reviewed venue, so
    the entry carries no doi.
  • How many nodes the lab ran, and where they were.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EQFKPv3mB1J6LFakJnjNsd

@github-actions

Copy link
Copy Markdown

Dataset preview (1 changed entry)

How these entries will read once merged, straight from the generator.

MempoolScape Bitcoin mempool logs

/datasets/mempoolscape-logs/

Mempool entry and exit records from instrumented Bitcoin Core nodes, as JSON logs with one record per transaction entering the mempool and one per transaction leaving it. A university blockchain lab patched Bitcoin Core to write the two logs and derived the published fields from them. Useful for reconstructing mempool state and replaying it; the view is that of the operators' own nodes, not the whole network.

Field Value
Category Transactions
Format JSON
Period 2020-12 – 2021-02
License CC BY-SA 4.0
Author Haseeb Saeed and the Blockchain lab at SEECS, National University of Sciences and Technology
Tags mainnet, mempool, timestamps, transactions
Description 3 sentences, 67 words

Links, in the order they will render:

Generated by ci/preview.py.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants