Maurits Wurzner commited on
Commit
92dffab
·
verified ·
1 Parent(s): c9164c9

bitcoin-mempool-lifecycle: 2026-08-26

Browse files
Files changed (30) hide show
  1. README.md +99 -0
  2. e0_run_manifest/2026/08/2026-08-25T1524Z.parquet +3 -0
  3. e0_run_manifest/2026/08/2026-08-25T1657Z.parquet +3 -0
  4. e0_run_manifest/2026/08/2026-08-25T1851Z.parquet +3 -0
  5. e0_run_manifest/2026/08/2026-08-26T0021Z.parquet +3 -0
  6. e0_run_manifest/2026/08/2026-08-26T0148Z.parquet +3 -0
  7. e0_run_manifest/2026/08/2026-08-26T1250Z.parquet +3 -0
  8. e1_mempool_dropped/2026/08/2026-08-26T0148Z.parquet +3 -0
  9. e1_mempool_dropped/2026/08/2026-08-26T1250Z.parquet +3 -0
  10. e1_mempool_lifecycle/2026/08/2026-08-25T1524Z.parquet +3 -0
  11. e1_mempool_lifecycle/2026/08/2026-08-25T1657Z.parquet +3 -0
  12. e1_mempool_lifecycle/2026/08/2026-08-25T1851Z.parquet +3 -0
  13. e1_mempool_lifecycle/2026/08/2026-08-26T0021Z.parquet +3 -0
  14. e1_mempool_minutely/2026/08/2026-08-26T0148Z.parquet +3 -0
  15. e1_mempool_minutely/2026/08/2026-08-26T1250Z.parquet +3 -0
  16. e3_mempool_divergence/2026/08/2026-08-25T1524Z.parquet +3 -0
  17. e3_mempool_divergence/2026/08/2026-08-25T1657Z.parquet +3 -0
  18. e3_mempool_divergence/2026/08/2026-08-25T1851Z.parquet +3 -0
  19. e3_mempool_divergence/2026/08/2026-08-26T0021Z.parquet +3 -0
  20. e3_mempool_divergence/2026/08/2026-08-26T0148Z.parquet +3 -0
  21. e3_mempool_divergence/2026/08/2026-08-26T1250Z.parquet +3 -0
  22. e8_btc_mempool_lifecycle/2026/08/2026-08-25T1657Z.parquet +3 -0
  23. e8_btc_mempool_lifecycle/2026/08/2026-08-25T1851Z.parquet +3 -0
  24. e8_btc_mempool_lifecycle/2026/08/2026-08-26T0148Z.parquet +3 -0
  25. e8_btc_mempool_lifecycle/2026/08/2026-08-26T1250Z.parquet +3 -0
  26. e9_btc_mempool_divergence/2026/08/2026-08-25T1657Z.parquet +3 -0
  27. e9_btc_mempool_divergence/2026/08/2026-08-25T1851Z.parquet +3 -0
  28. e9_btc_mempool_divergence/2026/08/2026-08-26T0021Z.parquet +3 -0
  29. e9_btc_mempool_divergence/2026/08/2026-08-26T0148Z.parquet +3 -0
  30. e9_btc_mempool_divergence/2026/08/2026-08-26T1250Z.parquet +3 -0
README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: odc-by
3
+ pretty_name: "Bitcoin mempool lifecycle, dwell times and fee estimates"
4
+ tags:
5
+ - mempool
6
+ - transaction-fees
7
+ - fee-estimation
8
+ - bitcoin
9
+ - litecoin
10
+ - ethereum
11
+ - blockchain
12
+ - cryptocurrency
13
+ - time-series
14
+ task_categories:
15
+ - time-series-forecasting
16
+ size_categories:
17
+ - 1M<n<10M
18
+ ---
19
+
20
+ # Bitcoin mempool lifecycle
21
+
22
+ What happens to a transaction between being broadcast and being mined: when we first saw it, how
23
+ long it waited, what fee it paid, and whether it was ever mined at all.
24
+
25
+ A confirmed transaction keeps its body forever but loses its timing, and one that is never mined
26
+ leaves no trace at all. We checked this on Bitcoin before collecting anything: the public
27
+ first-seen lookup answers while a transaction is unconfirmed and returns 0 once it is mined,
28
+ whether that was a day ago or a year ago. So it gets recorded as it happens or not at all.
29
+
30
+ Bitcoin is the point of this repo. Litecoin runs the same collector. Ethereum is included as a
31
+ second observation, but if you want Ethereum specifically, the
32
+ [Flashbots Mempool Dumpster](https://github.com/flashbots/mempool-dumpster) publishes the same
33
+ measurement daily under CC-0, from a wider node network and going back to September 2023. Theirs
34
+ is better than ours; use it.
35
+
36
+ ## What is in here
37
+
38
+ | name | one row is |
39
+ |---|---|
40
+ | `e8_btc_mempool_lifecycle` | a Bitcoin transaction: first seen, fee rate, mined height, blocks waited, fate |
41
+ | `e9_btc_mempool_divergence` | one provider's pending-set size and overlap with another, at an instant |
42
+ | `e11_ltc_mempool_lifecycle` | the same as e8, for Litecoin (single provider, no cross-check) |
43
+ | `e15_fee_estimators` | one fee estimate from one of five providers, at one confirmation target |
44
+ | `e1_mempool_minutely` | one minute of Ethereum mempool activity: arrivals, fates, dwell quantiles |
45
+ | `e1_mempool_dropped` | an Ethereum transaction that was never mined, in full |
46
+ | `e3_mempool_divergence` | one Ethereum node's pending view against three others |
47
+ | `e0_run_manifest` | one collection window: polls, failures, coverage counters |
48
+
49
+ ## Before you build on this
50
+
51
+ Most of these came out of getting something wrong first.
52
+
53
+ - `first_seen_ts` is when WE saw it, on our clock, from our own polling. The network saw it a
54
+ little earlier. We never copy a provider's own first-seen field.
55
+ - Rows with `pre_existing = true` were already pending when a window opened. Their real arrival
56
+ time is unknowable, so `first_seen_ts` is null there rather than a made-up value.
57
+ - Bitcoin `fate = "dropped"` starts 2026-08-26. Before that, a bug made drops impossible to
58
+ record: the status endpoint reports `confirmed: false` for a replaced transaction exactly as it
59
+ does for a waiting one, and we read that as proof it was still pending. Earlier partitions are
60
+ kept as collected rather than rewritten.
61
+ - We only call something dropped once it is missing from the chain, missing from two providers'
62
+ pools, and missing for ten polls running. Weaker tests do not work: a plain poll-to-poll diff
63
+ invented 642 "drops" in 200 seconds and every one we checked was still in the mempool.
64
+ - `fee_rate_sat_vb` is present on roughly a fifth of observed arrivals, sampled from the recent
65
+ feed. It is never estimated for the rest, because a guessed fee rate would ruin the analyses
66
+ the column exists for.
67
+ - Mempools are node-local, and how long a node keeps things is its own choice rather than a
68
+ protocol rule. Ours served 115-day-old entries where Bitcoin Core would have evicted after 336
69
+ hours. `e9` tracks how far apart two providers are, usually several thousand transactions.
70
+ - Bitcoin dwell times are long. Around 10 minutes for transactions that confirm quickly, but the
71
+ pool also holds a standing backlog whose median age is over 100 days. That is Bitcoin's fee
72
+ market, not a collection error.
73
+ - Fee estimators disagree much more than their marketing suggests: one sample showed a 6.7x
74
+ spread across five providers on the same six-block target. Targets are normalised to a block
75
+ count and the raw payload field is kept per row, so you can check that rather than trust it.
76
+ - Ethereum is stored as per-minute aggregates plus full rows for never-mined transactions.
77
+
78
+ Partitions are parquet, one file per collection window, under `dataset/YYYY/MM/`. This repo carries a rolling 7-day window of the panels above; the accumulated history is held privately.
79
+
80
+ ```python
81
+ from huggingface_hub import snapshot_download
82
+ import pandas as pd, glob
83
+
84
+ path = snapshot_download("SleeveZipper/bitcoin-mempool-lifecycle", repo_type="dataset",
85
+ allow_patterns="e8_btc_mempool_lifecycle/**")
86
+ df = pd.concat(map(pd.read_parquet,
87
+ glob.glob(f"{path}/e8_btc_mempool_lifecycle/**/*.parquet", recursive=True)))
88
+ ```
89
+
90
+ ## Coverage
91
+
92
+ `e0_run_manifest` lists every collection window with its poll counts and failure counts, and is
93
+ published in full rather than windowed. Gaps between windows are real, cannot be filled in
94
+ afterwards, and nothing here is interpolated.
95
+
96
+ ## License and contact
97
+
98
+ ODC-BY: use it freely, credit "DataForge (SleeveZipper)". Questions and requests for the full
99
+ history via the discussions tab.
e0_run_manifest/2026/08/2026-08-25T1524Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a83558c8c02860bdaae4abd74f7c5e22ef7757839cdfc85f521f5573dc273306
3
+ size 11060
e0_run_manifest/2026/08/2026-08-25T1657Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57732d874910316e51ce3ed33b40e26896766cdb5f2e30dd6bdebd4620792ff5
3
+ size 12030
e0_run_manifest/2026/08/2026-08-25T1851Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65cfd820304043c8205e8421f152626e176ae08059c79e9c94b2bb41f52c545c
3
+ size 12030
e0_run_manifest/2026/08/2026-08-26T0021Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:718f0b08bc2e07cca0dfff97d57a014ed4d71636276e4eb6fc60eba4e6b6c35e
3
+ size 12030
e0_run_manifest/2026/08/2026-08-26T0148Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e426f3f007fb0d07a8d26ee71df7b0edb692f59f7f558f59e295b2de869d8034
3
+ size 12030
e0_run_manifest/2026/08/2026-08-26T1250Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c50fab2707a5c567ad323243a1084630813f8329f8c2a7e48844059822057ee0
3
+ size 12030
e1_mempool_dropped/2026/08/2026-08-26T0148Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32c7086ebfe9f3f6ef615f2601fc3460f24974f4dda9f43f99697efe075a402b
3
+ size 279886
e1_mempool_dropped/2026/08/2026-08-26T1250Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b01be8e9e374206e862067ddca8d33fa691cd1e8936ee0f1e268d2773d68fd0a
3
+ size 51202
e1_mempool_lifecycle/2026/08/2026-08-25T1524Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a0c5033af3179ebe5df2cf59c4fecbfa6f83357c60fc45f97f35bd6ffbae268
3
+ size 1067156
e1_mempool_lifecycle/2026/08/2026-08-25T1657Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94279710e1275f948e75707db43ffed51c7d587e1d0a0c547fc278f08f777f26
3
+ size 353321
e1_mempool_lifecycle/2026/08/2026-08-25T1851Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3749e4ca0397c3070babee1cb962a2e025b893e2583a0e6f324b67e4b0702bae
3
+ size 14998245
e1_mempool_lifecycle/2026/08/2026-08-26T0021Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:654b38bc249fca8ba2332867e987584960fc09fc1b311efd1a0beb5b301c780b
3
+ size 89987
e1_mempool_minutely/2026/08/2026-08-26T0148Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:264aa8751d738444985b1e26abae13fa9bac7312e55b78984d14f2e54539a7b6
3
+ size 24057
e1_mempool_minutely/2026/08/2026-08-26T1250Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8214a36fa3faf1fb8ad311628c61f9f6a706e82931d4b82232286496a7de00a2
3
+ size 8531
e3_mempool_divergence/2026/08/2026-08-25T1524Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9fb72be82c63450c71071e3af7f1bdf0e1dd855f0715cde2580f6e8d848ee3b
3
+ size 6791
e3_mempool_divergence/2026/08/2026-08-25T1657Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:405719947ac26674fc23f85613791a93d99941e2b5e0ed0d4f34e5ce523971c6
3
+ size 6603
e3_mempool_divergence/2026/08/2026-08-25T1851Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b81d4b2ef05aee5c51c5bb0ff9e72defc30ad5592968462b01ffbb252efa07e6
3
+ size 12044
e3_mempool_divergence/2026/08/2026-08-26T0021Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfba6e73a641e519044561d6f52627bffc0c0ee23ba1bb5e7993894119a98ad9
3
+ size 6446
e3_mempool_divergence/2026/08/2026-08-26T0148Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b6e2f31056d6f47045ba4c56663d8749c37975dddd29aca0c3dafc61c4c1709
3
+ size 12117
e3_mempool_divergence/2026/08/2026-08-26T1250Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e9b458ffb78225904292d1773cdeaedae400ee1862b856298aae50d873e9f27
3
+ size 6727
e8_btc_mempool_lifecycle/2026/08/2026-08-25T1657Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45bb38cabaac5f1150728df0d3dbdf612f6afde8a56882ef2f2c5996c537b167
3
+ size 5671248
e8_btc_mempool_lifecycle/2026/08/2026-08-25T1851Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08a69629952596b8b576921da44cbb3446bca68e5e892f3bf3285bf05ea55896
3
+ size 14331634
e8_btc_mempool_lifecycle/2026/08/2026-08-26T0148Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34f5a8ab049180f1e42e7a8afec0354811204216ae3efe6b46d4bdfcf6a7e269
3
+ size 15466142
e8_btc_mempool_lifecycle/2026/08/2026-08-26T1250Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4a960d5f7a9c7c29ea00fe5741c5b7b20ccda1fc39df7d0a3537b72a84a08a3
3
+ size 6070165
e9_btc_mempool_divergence/2026/08/2026-08-25T1657Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b0034670a5b2ebeb6212d5121ac91346444876dc6bdcd9648994f8a74c4a91f
3
+ size 6457
e9_btc_mempool_divergence/2026/08/2026-08-25T1851Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25c369f3ab8a64028dd98a341c9fb3c48333acd3e0c4d5ba1d21329f080d2046
3
+ size 8102
e9_btc_mempool_divergence/2026/08/2026-08-26T0021Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:331a136eff810cb86c6200fea24df46082c2fb51a18b81e73dd40db9b95b0ce7
3
+ size 6457
e9_btc_mempool_divergence/2026/08/2026-08-26T0148Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf8fd7527ce6326b3085c851bd29739a7bd1e73879a26692b12b5002630fd9e9
3
+ size 8093
e9_btc_mempool_divergence/2026/08/2026-08-26T1250Z.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc5a97add2c65f8613719e446eac2958cd59adef3818e1d72d3219f8e45ab5bf
3
+ size 6457