Thank you for all the explanations on how to use regtest to reproduce
the example scenarios.
It seems like a private mode wouldn't be particularly helpful for
testing so I won't create a pull request and will just work on the
private chains separately from bitcoind.
Going back to chainparam modes
On Thu, Apr 17, 2014 at 12:09 PM, Jorge Timón 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 misun
Not necessarily. Running a private server involves listening to the p2p
network for incoming transactions, performing validation on receipt and
organizing a mempool, performing transaction selection, and relaying
blocks to auditors - none of which is tested in a reindex.
A reindex would give you a
On 4/17/14, Mike Hearn 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
>
> 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.
-
On 4/17/14, Gavin Andresen wrote:
> How is this different from just running in -regtest mode and asking the
> nodes to generate a block after 1 or 2 seconds?
There's no difference, the -timedtest mode does exactly that. But
automatically instead of having to manually ask for a new block every
sec
"So my question to the community is, how invasive is this to bitcoin's
source code?"
I'd say not very considering you have regression testing mode.
On Thu, Apr 17, 2014 at 8:25 AM, Jorge Timón wrote:
> I'm implementing a new testing mode that produces blocks
> periodically. You can get what I
How is this different from just running in -regtest mode and asking the
nodes to generate a block after 1 or 2 seconds?
--
--
Gavin Andresen
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the
I'm implementing a new testing mode that produces blocks
periodically. You can get what I have so far here:
https://github.com/jtimon/bitcoin/tree/timed
It depends on pull request #3824 with some improvements on
CChainParams, but after that the changes required to add this new
mode are very small
9 matches
Mail list logo