Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [testing]

Regarding testing of new features, algorithms, or concepts.

0
votes
1answer
14 views

Transaction deserialization test vectors for Elements sidechain?

I'm working on adding support for Elements sidechain to https://github.com/Simplexum/python-bitcointx/ library. Transaction serialization/deserialization seems to be working, but to test it properly,...
0
votes
1answer
28 views

Debugging Bitcoin Core with gdb - how to turn off compiler optimizations

I ran the configure script with the --enable-debug flag, then ran make. I am running unit tests: gdb --args src/test/test_bitcoin --log_level=all --run_test=script_standard_tests I'm trying to step ...
2
votes
2answers
130 views

Any idea how to download a small part of the chain for testing purposes?

I am experimenting with Python and Rust libraries on my laptop. I don't actually want to get a node going on it and download the full chain; I just need some blocks to play with. I want to keep my ...
1
vote
1answer
46 views

Testing Bitcoin Core source code? [closed]

What's the recommended way to start testing the Bitcoin Core source code. Thanks in advance, Jim
0
votes
0answers
166 views

Do exchanges have a sandbox to test?

Hey so I want to test some trading.. does binance, bittrex, poloniex, kraken or gemini have a sandbox to trade fake crypto to test systems?
1
vote
0answers
52 views

Why does the feature_block.py bitcoin functional test fail in tagged release 0.16.0?

I tried running the unit and functional tests from the latest tagged release (0.16.0) from https://github.com/bitcoin/bitcoin.git. To my surprise, there is one functional test that persistently fails ...
1
vote
0answers
53 views

Altering blockinfo to include valid nonce and extraNonce's in the miner_tests

I currently work on upgrading an old cryptocurrency (fork of an old bitcoin version) to the latest of Bitcoin that includes a lot of tests. I currently am stuck with making this test succeed: https://...
0
votes
1answer
328 views

Blockchaind Node Monitoring and local testnet

Im getting my self into blockchain. I have a few newbie questions: I'm Running a few bitcoind Daemons on OpenStack VMs. Can i Monitor transactions coming in? Can I log all inputs and outputs and ...
1
vote
1answer
25 views

Any stress-tests done after 2015?

I was considering running a small test using Bitcoin transactions when I ran into the stress-test / DDOS that Coinwallet.eu conducted in July 2015 (and maybe September too, I am not really sure) where ...
5
votes
1answer
616 views

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?
4
votes
0answers
350 views

Good way to test Electrumx?

Has anyone else gotten an electrumx server up and running lately? I have just gotten to the point where I'm not seeing any errors during "# service electrumx status", but I'm also not seeing my ...
4
votes
2answers
1k views

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 ...
1
vote
1answer
131 views

Automated Testing using bitcoind in regtest mode, problems due to race condition

So I have multiple instances of bitcoind in regtest mode. 1 instance is for the app wallet and one stimulates a wallet of a possible user. I want to perform various functional and integration tests ...
16
votes
2answers
394 views

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 ...
3
votes
1answer
480 views

Bitcoin testnet not connecting to hardcoded ip addresses

I am trying to force bitcoind running in testnet mode to connect to my own defined set of ip addresses(basically 127.0.0.1:diffPorts). For this I have disabled dnsseed and starting with a fresh ...
0
votes
0answers
174 views

how to get confirmed balance for bitcoin testnet server? [duplicate]

I can't get confirmed BTC from https://tpfaucet.appspot.com/ server. Tried many address and can't get balance with confirmation. for that reason my testnet server balance is always 0.0 bitcoin....
0
votes
0answers
73 views

How to send an invalid transaction for testing purposes?

How could I send an invalid transaction—for testing purposes, such as with testnet or regtest? For example, I would like to to try to double-spend, spend non existent coins, etc.
2
votes
1answer
957 views

BlockChain API playground OR SandBox?

I am android developer. I have used https://blockchain.info/api/blockchain_wallet_api API for my application But the problem is now how can I test my application (transactions) with out having bit-...
0
votes
0answers
94 views

Leakage of information about selfish mining - what message is responsible?

A few weeks back I had asked a question about how honest nodes could detect a Selfish Mine Attack and if there were mechanisms that would disclose selfish mining. In a very first step: I've slightly ...
1
vote
0answers
170 views

How to fork blockchain intentionally without RPC commands?

Are there any methods other than RPC command invalidateblock <hash> for creating forks? I know that forks occur when two miners (nearly) simultanously each generate a block for a previous common ...
3
votes
2answers
70 views

Why can't the block size upgrade be trialed on testnet with an organised “stress test”

A stress test was run on mainnet to see the effect of exponential demand in Tx volume. Why can't a testnet "stress test" be organised to look at the implications of the 20Mb block size (and other ...
1
vote
1answer
192 views

BIP39 Japanese Mnemonic vector unit test process

There is a json for unit tests of Japanese characters which I want to validate using Python, specifically with this fork of pybitcointools, which has bip39 functionality. Unit tests from Trezor's ...
1
vote
1answer
372 views

Trouble running bitcoin unit tests with test_bitcoin on Ubuntu

From Bitcoin Core's test directory (bitcoin/src/test), the executable test_bitcoin is supposed to run the unit tests. When I run test_bitcoin, however, I get: replication requires locking support ...
7
votes
3answers
579 views

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 ...
1
vote
1answer
235 views

Can I look for transaction in the genesis block?

I'm testing bitcoin and, as an experiment, I added a transaction after the coinbase to the genesis block. However, it appears that it can't be searched with the rpc commands. Why is that? I already ...
0
votes
2answers
329 views

Risk of using pre-release test build

Installing bitcoind from github, I forgot to pass "git checkout v0.8.6" (current version at time of writing), and of course, go the following error in getinfo. "This is a pre-release test build - use ...
2
votes
2answers
4k views

How to avoid Bitcoin-QT's transaction fee or change size limit?

I'm trying to find an easy way to enable my website to accept bitcoin payments. I'm trying to test out Blockchain.info's "receive payment API" (http://blockchain.info/api/api_receive). Near the ...
1
vote
2answers
3k views

Easiest way to accept BTC and test

We are building an online game and planning to enable our players to play for bitcoins. Therefore, we need to enable players to deposit and withdraw bitcoins. Which way is the easiest to start ...
0
votes
2answers
3k views

Is there a sandbox in bitcoin for testing?

Is there a sandbox in bitcoin for testing, so that i can create sample bitcoins with out mining and do transactions as a testing purpose. update: I checked this question: Mining on the testnet: how ...
1
vote
2answers
529 views

How to test bitcoin distribution mechanism

Now I'm developing a bitcoin distribution mechanism (according to users' submitted shares count). The complete workflow is: Users submitted shares to my pool, then my pool submitted these shares to ...
2
votes
2answers
1k views

test cases for hash algorithm anywhere?

RFC4231 gives test cases for SHA256 with several different sets of gozintas and gozoutas. I'm looking for something similar for the SHA256 hash as implemented in the Bitcoin mining algorithm. Based ...
4
votes
1answer
128 views

I'm developing on the Test network. Are there any “rules” or communication methods I should adopt?

I'm testing a C# port of the client on the Test network and need to test for a variety of conditions. Should I communicate to others regarding my actions on the network? If so, what method of ...
6
votes
1answer
2k views

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 ...
3
votes
1answer
1k views

How do I run my own testnet? What's testnet-in-a-box?

If I want better control of my test environment while developing a bitcoin-related application it seems useful to run my own testnet rather than use the public testnet. How can I do this? What is ...
2
votes
1answer
196 views

How can I work with multiple testnets?

Apart from running a private testnet-in-a-box there are also the public testnet instances. You can use this instead of the regular (production) bitcoin network by setting testnet=1 in your bitcoind ...
5
votes
1answer
2k views

Relative performance of various mining software?

Has any measured the relative performance of various mining software? I figure such a study would be very beneficial for all the miners to choose the most optimal software out there to squeeze out the ...
9
votes
1answer
1k views

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. ...
6
votes
2answers
330 views

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 ...
5
votes
1answer
636 views

Are there any mining pools operating on the Testnet? [closed]

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?
9
votes
1answer
1k views

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 ...
3
votes
1answer
265 views

Can a Bitcoin node send messages to a program on the same machine?

I`m currently programming some TCP communication in my custom Bitcoin client. I am wondering if it is possible for the official client to communicate with it if they are sitting on the same machine? ...
10
votes
2answers
1k views

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 ...