What is Nostr?
Gavin Andresen [ARCHIVE] /
npub1s4l…44kw
2023-06-07 15:18:50
in reply to nevent1q…36hk

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>;
Author Public Key
npub1s4lj77xuzcu7wy04afcr487f0r3za0f8n2775xrpkld2sv639mjqsd44kw