Commit Graph
179 Commits
Author SHA1 Message Date
Matt Corallo c5f6509a4c Update empty block explainer to remove nonsense information
In #5061 it was suggested that the primary cause of empty blocks was due to ASICs taking some time to switch to new work, but this is not a possible reason for empty blocks - pools can mine empty or full blocks no matter how long ASICs do (or do not) take to switch to new work.

At some time T a new block is found, at some time T+1 a pool hears about this new block and desires to switch their miners to the new block. If the pool does a full block validation of the new block prior to sending new work (and updates their mempool), they can switch miners to the new work with transactions immediately. If, then, at time T+2 the ASIC finds a block based on the prior work it doesn't matter whether they were given transactions or not - the block is based on the previous tip and is just a fork.

Instead, the relevant question for empty blocks is whether the pool delays until they can fully validate the block and update their mempool (or in fact even *have* the block), selecting a first block template which contains transactions or not. #5061 tried to explain this away with an incredibly weak reference to bandwidth, but the cost of a merkle branch for a block with 4k transactions is only ~800 bytes of JSON'd hex, which shouldn't even push you into a second IP packet, let alone make for substantial bandwidth.

Its worth noting that it can take many seconds for block to make it from one pool to others, and can further take a second or two to validate a block even on fast hardware (in cases where Bitcoin Core decides to flush to disk due to cache fill), so it makes sense that you'll see empty blocks for some seconds after the previous block. @mononaut posted a chart convincingly demonstrating this - for the first few seconds after a previous block ~all blocks are empty blocks (strong evidence for spy mining or otherwise sending new work prior to updating the local mempool) and we see some dropoff of empty blocks therafter on a relatively expected distribution.

There are likely some empty blocks which are mined further past the previous block due to ASICs holding onto previous work, however the only reason those ASICs *have* previous work that is an empty block is because of spy mining or otherwise not tuning Bitcoin Core on the side of the pool to ensure they can update their mempool fast enough and get blocks fast enough to not need to send empty work at all.
2024-05-20 00:39:13 +00:00
BitcoinMechanic d6d56688ea Update api-docs.component.html
Tweak empty block explainer
2024-05-16 10:12:09 -07:00
BitcoinMechanicandmononaut 16c154f39d Update frontend/src/app/docs/api-docs/api-docs.component.html
Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
2024-05-12 23:05:55 -07:00
BitcoinMechanic 64d979d5f9 update empty block explainer, add contributor info 2024-05-11 11:39:46 -07:00
Mononaut de8462e81e testnet4 docs 2024-05-06 17:31:49 +00:00
nymkappa 4944e3c257 [doc] update accel doc 2024-04-19 18:45:59 +02:00
nymkappa 6ebc7fab47 [doc] update to match accel history endpoint actual response 2024-04-19 08:55:21 +02:00
Henrique Albuquerque d94a8cb58c Fix typo 2024-04-12 17:59:31 +01:00
natsoni 527589ac04 Merge branch 'master' into natsoni/high-contrast-theme 2024-04-09 12:13:11 +09:00
softsimon 5f36cb88ab Merge pull request #4895 from mempool/hunicus/txacc-faq
Add note about accelerator waitlist to faq
2024-04-08 18:44:40 +09:00
natsoni c251b5831b Merge branch 'master' into natsoni/contrast-theme 2024-04-08 14:54:38 +09:00
hunicus ddc599f6b7 Remove another faq reference to tx-acc 2024-04-08 14:18:53 +09:00
hunicus 6822c3a04b Merge branch 'master' into hunicus/txacc-faq 2024-04-08 14:00:00 +09:00
hunicus 94f649b345 Add condition for officialmempoolspace 2024-04-08 13:50:48 +09:00
natsoni 7e920f4bae Replace more hardcoded css 2024-04-06 17:14:53 +09:00
Mononaut 79dd263fb1 add high contrast theme 2024-04-06 15:56:53 +09:00
natsoni ee92f6639a convert to CSS variables 2024-04-06 15:54:55 +09:00
hunicus 2a591646c3 Add note about accelerator waitlist to faq 2024-04-05 16:53:19 +09:00
hunicus 40f2c972d7 Update faq: blockstream/electrs for mempool/electrs 2024-04-05 15:50:15 +09:00
nymkappa ce6808b3c4 [copy] add missing trademark to Mempool Goggles 2024-04-04 18:01:01 +09:00
softsimon 55f9d0f875 Merge branch 'master' into hunicus/docs-links-alignment 2024-04-03 18:57:46 +09:00
Felipe Knorr Kuhn 13216687dc Merge branch 'master' into nymkappa/accel-copy 2024-04-02 21:03:41 +09:00
nymkappa 1bba1cfeb1 [accelerator] deposit -> top up 2024-04-02 11:35:03 +08:00
hunicus b8a48314c1 Fix api-docs anchor link vertical alignment 2024-04-01 18:53:38 +09:00
softsimon 0090d36514 Merge branch 'master' into simon/remove-bisq 2024-04-01 18:52:56 +09:00
natsoni 1e5b798af9 Fix for #4827 2024-03-27 19:00:24 +09:00
natsoni f91fc6f026 Fix truncated blockchain in faq 2024-03-27 18:47:10 +09:00
softsimon 60996a99f0 Removing Bisq 2024-03-23 18:03:49 +09:00
natsoni cca7c7e8e2 Update doc for historical price endpoint 2024-03-18 17:41:13 +09:00
hunicus 26be760692 Add preview image: faq 2024-03-10 10:27:10 +09:00
softsimon bfde456ca8 Only display docs enterprise upsell on official mempool 2024-03-09 15:38:16 +07:00
nymkappa 007f424d15 [accelerator] update doc, split public/authenticated 2024-03-08 10:52:02 +09:00
wiz 28d23d4304 Merge branch 'master' into hunicus/enterprise-cta-docs 2024-03-06 16:23:48 +09:00
wiz 66386f2bcc Merge pull request #4709 from mempool/hunicus/txs-api-queryparam
Fix query parameter label in tx history api doc
2024-02-27 12:21:17 +09:00
hunicus 8701ba8546 Fix query parameter label in tx history api doc 2024-02-25 01:17:46 -05:00
nymkappa c4df05b581 [doc] remove "estimated_fee" from accelerator endpoints 2024-02-15 17:33:38 +01:00
Mononaut 000524691a Project early difficulty from sliding window 2024-02-11 23:11:19 +00:00
nymkappaandhunicus fbabd93b5e Update frontend/src/app/docs/api-docs/api-docs-data.ts
Co-authored-by: hunicus <93150691+hunicus@users.noreply.github.com>
2024-02-11 12:01:09 +01:00
nymkappa a1bd84ea6d [doc] separate private/public acceleration history endpoint title 2024-02-10 11:41:30 +01:00
nymkappa 740f9af9af [doc] additional rest api doc for accelerator 2024-02-10 11:40:19 +01:00
nymkappa be183ada0a [doc] fix acceleration history endpoint detail 2024-02-10 10:56:19 +01:00
nymkappa b2a130bb17 [doc] fix copy, formatting and hide accelerator doc title if non official instance 2024-01-29 11:45:14 +01:00
hunicus a3055e20f4 Fix signet and testnet docs pages 2024-01-29 01:57:06 -05:00
nymkappa ea1b74dcef [doc] add accelerator rest api documentation 2024-01-27 19:35:16 +01:00
Mononaut 439177a78f Add sigop related FAQ entries 2024-01-10 22:07:01 +00:00
softsimon 7de3d789b3 Merge branch 'master' into update-docs-api 2024-01-09 22:58:16 +07:00
natsee 93b074edf0 Add endpoints to docs api 2023-12-27 18:50:41 +01:00
natsee 40f2d553e2 Fix faq nav bar overflow 2023-12-22 10:39:40 +01:00
Matt Hill fc36e04dc0 update start9 os and icon 2023-12-19 08:20:21 -07:00
Mononaut 8dbf879c37 Add Goggles FAQ entry 2023-12-17 10:56:42 +00:00