Commit Graph
12 Commits
Author SHA1 Message Date
Simon ea26d328fc Add founders reward to output. 2016-07-14 13:08:34 -07:00
Simon 933bff472d Narrow scope of lock. 2016-07-11 22:01:15 -07:00
Simon 1db13d5063 Replace index with height in help message for getblocksubsidy RPC call. 2016-07-11 21:53:09 -07:00
Simon 1b114e54c4 Add getblocksubsidy RPC command to return the block reward for a given
block, taking into account the mining slow start.
2016-06-27 13:04:33 -07:00
Simon 5dad8f569d Disable USE_ASM when building libsnark (issue 932). 2016-06-20 15:18:15 -07:00
Simon dca3af5bde Update variable name. 2016-06-09 07:23:33 +08:00
Simon 574f0bca77 Update to DistinctIndices function (for issue #857).
Replaces pull request #974.
2016-06-08 23:34:18 +08:00
Simon edab3ddd2e Implement issue #997 to reduce time for test_bitcoin due to sleeps in
addrman.  Related to issue #717.
2016-06-06 17:11:15 +08:00
Simon 17c4c0db48 Remove Bitcoin mainnet seeds. 2016-05-27 11:37:41 -07:00
Simon 1cf94c69e8 Remove Bitcoin testnet seeds. 2016-05-25 17:00:44 -07:00
Simon 0dd2bf94dd Declare constants for the maximum number of retries, when to sleep
between retries and how long for.
2016-05-24 23:56:31 -07:00
Simon b0f75847ea Fix issue #717 where if addrman is starved of addresses (e.g. on testnet)
the Select_() function will loop endlessly trying to find an address,
and therefore eat up 100% cpu time on the 'opencon' thread.

Solution is to (1) add a delay to the loop and (2) restrict the number
of attempts to find an address.  On exiting the loop, we return
to an outer loop in net.cpp which will sleep, add seed nodes and
calcualte new addresses.
2016-05-13 16:00:22 -07:00