zcashd/qa
zkbot 6ee75b3b7b Auto merge of #2014 - arcalinea:test-prioritisetransaction, r=arcalinea
Test prioritisetransaction

After talking with @str4d about #1884 , I wrote a test for prioritisetransaction. It uses small blocks (11kb), and checks whether a transaction makes it into the next block after being prioritized by that node.

Should this be improved with a larger number of txs in the mempool, or by testing over multiple runs?

As for getblocktemplate(), it seems to return the prioritized transaction within the block size set by the node (about 50 txs fit in an 11kb block), but the block "sizelimit" it displays is set at 2 MB in `rpcmining.cpp` line 690:
```
result.push_back(Pair("sizelimit", (int64_t)MAX_BLOCK_SIZE));
```

This was quite confusing, I didn't think the `-blockmaxsize` parameter I was setting was working for awhile.
2017-03-02 06:47:04 +00:00
..
pull-tester Auto merge of #2014 - arcalinea:test-prioritisetransaction, r=arcalinea 2017-03-02 06:47:04 +00:00
rpc-tests Auto merge of #2014 - arcalinea:test-prioritisetransaction, r=arcalinea 2017-03-02 06:47:04 +00:00
zcash Auto merge of #1942 - str4d:1940-threaded-createjoinsplit, r=ebfull 2017-01-18 01:04:05 +00:00