Jorge Timón [ARCHIVE] on Nostr: 📅 Original date posted:2014-04-17 📝 Original message:On 4/17/14, Mike Hearn ...
📅 Original date posted:2014-04-17
📝 Original message:On 4/17/14, Mike Hearn <mike at plan99.net> wrote:
>>
>> 2) If I wanted to measure validation performance, to get the number of
>> peak tps that could be processed without taking block sides or network
>> latency into account, how would I do that? Has anybody tried this
>> before?
>
>
> You can just reindex/replay the chain. It's been done many times.
Yes, thank you. I guess that's what everybody is doing to measure
validation performance.
So I guess the timedtest mode doesn't make much sense, at most only as
the blocktime parameter defaulting to zero. If bool
MineBlocksOnDemand() gets refactored out of ChainParams into a
parameter (maybe just use genproclimit ?), you can have the periodic
block generation and the generation on demand reusing the same regtest
mode.
So it seems a new mode only makes sense if the -private mode makes
sense, which in turn only makes sense to include in bitcoind if it's
useful enough for the network attack simulations, which remains the
open question.
Published at
2023-06-07 15:18:49Event JSON
{
"id": "3b7efbdc6c506f58fd167f7dbc2d0d4d8debaf0a70f5bca0a5e3b958e06be281",
"pubkey": "498a711971f8a0194289aee037a4c481a99e731b5151724064973cc0e0b27c84",
"created_at": 1686151129,
"kind": 1,
"tags": [
[
"e",
"67963d1e5aaadedf8554f040e8adfd218b263901ac293984048ad998b27336ea",
"",
"root"
],
[
"e",
"ea8d69406fb0bd8f43caea307cf9183a20b2133375e0c0efde3c586e8c78551f",
"",
"reply"
],
[
"p",
"f2c95df3766562e3b96b79a0254881c59e8639f23987846961cf55412a77f6f2"
]
],
"content": "📅 Original date posted:2014-04-17\n📝 Original message:On 4/17/14, Mike Hearn \u003cmike at plan99.net\u003e wrote:\n\u003e\u003e\n\u003e\u003e 2) If I wanted to measure validation performance, to get the number of\n\u003e\u003e peak tps that could be processed without taking block sides or network\n\u003e\u003e latency into account, how would I do that? Has anybody tried this\n\u003e\u003e before?\n\u003e\n\u003e\n\u003e You can just reindex/replay the chain. It's been done many times.\n\nYes, thank you. I guess that's what everybody is doing to measure\nvalidation performance.\nSo I guess the timedtest mode doesn't make much sense, at most only as\nthe blocktime parameter defaulting to zero. If bool\nMineBlocksOnDemand() gets refactored out of ChainParams into a\nparameter (maybe just use genproclimit ?), you can have the periodic\nblock generation and the generation on demand reusing the same regtest\nmode.\n\nSo it seems a new mode only makes sense if the -private mode makes\nsense, which in turn only makes sense to include in bitcoind if it's\nuseful enough for the network attack simulations, which remains the\nopen question.",
"sig": "2f8515e1668656b6862a5e816a5841d1a940810d7f7aa2f09aabb874f2d1505950219842ac328f60501d580eea6751f81214d385137c3cddf995ac091578448c"
}