Gavin Andresen [ARCHIVE] on Nostr: π
Original date posted:2014-04-17 π Original message:On Thu, Apr 17, 2014 at ...
π
Original date posted:2014-04-17
π Original message:On Thu, Apr 17, 2014 at 12:09 PM, Jorge TimΓ³n <jtimon at monetize.io> wrote:
> 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.
>
Unless I misunderstood what your private mode does, you can get the same
effect with -regtest by just controlling nodes connectivity. For example:
Start 2 nodes, connected to each other. Mine a -regtest chain they both
agree on.
Restart them so they're not connected. Have one mine normally,
have the other mine... however you like to simulate some attack (deep
chain re-org, double-spend,
whatever).
To simulate launching the attack, connect them together again, let the two
chains compete and see
what happens.
--
--
Gavin Andresen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20140417/481e77ff/attachment.html>
Published at
2023-06-07 15:18:50Event JSON
{
"id": "171421b4c9c2d571b51196e17e1d9c5827af019e8ebb80416df45419953e2f59",
"pubkey": "857f2f78dc1639e711f5ea703a9fc978e22ebd279abdea1861b7daa833512ee4",
"created_at": 1686151130,
"kind": 1,
"tags": [
[
"e",
"67963d1e5aaadedf8554f040e8adfd218b263901ac293984048ad998b27336ea",
"",
"root"
],
[
"e",
"3b7efbdc6c506f58fd167f7dbc2d0d4d8debaf0a70f5bca0a5e3b958e06be281",
"",
"reply"
],
[
"p",
"498a711971f8a0194289aee037a4c481a99e731b5151724064973cc0e0b27c84"
]
],
"content": "π
Original date posted:2014-04-17\nπ Original message:On Thu, Apr 17, 2014 at 12:09 PM, Jorge TimΓ³n \u003cjtimon at monetize.io\u003e wrote:\n\n\u003e So it seems a new mode only makes sense if the -private mode makes\n\u003e sense, which in turn only makes sense to include in bitcoind if it's\n\u003e useful enough for the network attack simulations, which remains the\n\u003e open question.\n\u003e\n\nUnless I misunderstood what your private mode does, you can get the same\neffect with -regtest by just controlling nodes connectivity. For example:\n\nStart 2 nodes, connected to each other. Mine a -regtest chain they both\nagree on.\n\nRestart them so they're not connected. Have one mine normally,\nhave the other mine... however you like to simulate some attack (deep\nchain re-org, double-spend,\nwhatever).\n\nTo simulate launching the attack, connect them together again, let the two\nchains compete and see\nwhat happens.\n\n-- \n--\nGavin Andresen\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20140417/481e77ff/attachment.html\u003e",
"sig": "7edcf7e26bcd0a6740e9dd26dd0d6896ad27090a7159bcec970aec96e460ecb832e4371dd7d9797982dbb8848b81ceaaa04dd61fe0e921d9671e3a867ca7233f"
}