Questions tagged [testing]

Regarding testing of new features, algorithms, or concepts.

Regarding testing of new features, algorithms, or concepts.

72 questions
17
votes
2 answers

How thoroughly has Segregated Witness been tested?

I've encountered claims that Segregated Witness was "not really tested" and is being "rushed". It is my understanding that SegWit had been running on Elements for more than half a year already, and that it is currently being run on its own…
Murch
  • 71,155
  • 33
  • 180
  • 600
10
votes
2 answers

What does -keypool=1 do?

I am doing some test, and am getting weird behavior with keypool. In the 0.4.0rc1 bitcoin client: If I set keypool=1, how many times should I be able to do getnewaddress? Are there any resources where I can read about keypool, and how it works?
Alex Waters
  • 3,171
  • 2
  • 24
  • 39
9
votes
3 answers

Testing blockchain forks

I want to test if a service can manage a blockchain fork. However there is no way to get bitcoind to create test forks under the regtest mode. I've tried modifying it to generate blocks with arbitrary prevblock hashes but it is not easy due to the…
9
votes
1 answer

Reduce difficulty on testnet-in-a-box?

I'm doing some testing and often find myself needing to generate 6 blocks quickly to confirm some tx. Each block takes a few minutes to generate on my macbook so this slows things down considerably. Is there a way to adjust difficulty? Note that…
Brian Armstrong
  • 739
  • 4
  • 18
9
votes
1 answer

Does the main Bitcoin client blacklist addresses?

Does the main Bitcoin client blacklist any addresses that send too many erroneous messages? If so, how can one whitelist a particular address? I am developing an app that will be communicating with the main client and I don't want the program to ban…
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
7
votes
1 answer

How does bitcoin functional test framework work?

Could someone explain how and where in the code the bitcoin test framework calls map to C++ bitcoin core code or RPC calls such that regression suite tests the bitcoin core functionality? Background and more details I am writing a blockchain…
6
votes
1 answer

Example accepted getwork function input and output?

I'm looking for example getwork input and output of a successful block hash to verify a getwork client I've implemented. I'd also accept suggestions on better ways to verify this. I've looked at TestNet but this seems to be a slow process.
Glen T
  • 163
  • 4
6
votes
2 answers

Is there a Shapeshift service for Testnet coins to convert Bitcoins to other Altcoin testnet coins?

I'm building an app and I'm working with btc testnet coins, but I want to be able to convert them to other altcoin testnet coins. Is there such a service out there?
Patoshi パトシ
  • 10,956
  • 18
  • 80
  • 151
6
votes
2 answers

Is there any software available for testing of Bitcoin security?

I'm currently in the process of working on my thesis about Bitcoin security and I'm wondering if there's any software available for testing of Bitcoin security? For example, are there any programs that will try launching double-spend attacks,…
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
6
votes
3 answers

Is there a sandbox in bitcoin for testing?

Is there a sandbox in Bitcoin for testing, so that I can create sample bitcoins without mining and do transactions for testing purposes?
suhailvs
  • 191
  • 1
  • 10
5
votes
2 answers

Which altcoin would be the easiest to fork a cryptocurrency from for educational purposes?

Which codebase would you recommend for a novice who wants to create and run an altcoin in order to understand the technology - like a student compiling their own version of MINIX in order to understand operating systems? If you want an objective…
ProkhorZ
  • 174
  • 10
5
votes
1 answer

Are there any mining pools operating on the Testnet?

Are there any mining pools operating on the Bitcoin Testnet, or do pool owners just test their code using their own machines without keeping the test pool up for too long?
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
4
votes
1 answer

What is fuzz testing?

I've been looking at the Bitcoin Core PR review club sessions on fuzz testing here and here. Can you explain at a high level what is fuzz testing?
4
votes
1 answer

I would like to dig into the open Taproot PR to understand it, test it and possibly even review it. Any advice or recommendations?

I would like to dig into the open Taproot PR (PR #19953) to understand it, test it and possibly even review it. Any advice or recommendations?
4
votes
1 answer

Should I run the tests every time I review an open Bitcoin Core PR?

I am reviewing an open Bitcoin Core PR. Should I run the tests or can I rely on the CI (continuous integration) output to catch test failures? If I am to ACK a commit should I seek to catch flaky tests, run tests on different hardware, try extra…
Michael Folkson
  • 14,337
  • 3
  • 11
  • 45
1
2 3 4 5