Jonas Schnelli
1cad8c9ff9
setban: add RPCErrorCode
2017-03-02 13:23:03 -08:00
Jonas Schnelli
171b4de8d9
fix CSubNet comparison operator
2017-03-02 13:23:03 -08:00
Jonas Schnelli
fcc8920f36
setban: rewrite to UniValue, allow absolute bantime
2017-03-02 13:23:03 -08:00
Jonas Schnelli
63c06b232b
rename json field "bannedtill" to "banned_until"
2017-03-02 13:23:03 -08:00
Jonas Schnelli
e521939942
[RPC] extend setban to allow subnets
2017-03-02 13:23:03 -08:00
Jonas Schnelli
445cd761c5
[net] remove unused return type bool from CNode::Ban()
2017-03-02 13:23:03 -08:00
Jonas Schnelli
962ec4b5e4
[QA] add setban/listbanned/clearbanned tests
2017-03-02 13:23:03 -08:00
Jonas Schnelli
ed3f13a057
[RPC] add setban/listbanned/clearbanned RPC commands
2017-03-02 13:23:03 -08:00
Jonas Schnelli
997829713c
[net] extend core functionallity for ban/unban/listban
2017-03-02 13:23:03 -08:00
Alex van der Peet
94ee48c42a
New RPC command disconnectnode
2017-03-02 13:23:03 -08:00
Stephen
6699b42518
Add paytxfee to getwalletinfo, warnings to getnetworkinfo
2017-03-02 13:23:03 -08:00
Daniel Kraft
e940185294
Fix univalue handling of \u0000 characters.
...
Univalue's parsing of \u escape sequences did not handle NUL characters
correctly. They were, effectively, dropped. The extended test-case
fails with the old code, and is fixed with this patch.
2017-03-02 13:23:03 -08:00
zkbot
b75b2de004
Auto merge of #2124 - str4d:2086-help2man, r=str4d
...
Improve autogenerated manpages
Cherry-picked from bitcoin/bitcoin#8608.
Closes #2086 .
2017-03-02 19:20:10 +00:00
Jack Grigg
633787060a
Update release process with gen-manpages.sh
2017-03-02 11:18:47 -08:00
Jack Grigg
1f5cc3fa74
Regenerate and collate Zcash manpages, delete Bitcoin ones
2017-03-02 11:18:46 -08:00
Jack Grigg
a0e6d5a185
Adjust gen-manpages.sh for Zcash, use in Debian builds
2017-03-02 11:18:44 -08:00
nomnombtc
076406650c
improved gen-manpages.sh, includes bitcoin-tx and strips commit tag, now also runs binaries from build dir by default, added variables for more control
2017-03-02 11:18:43 -08:00
nomnombtc
4a558b2bea
regenerated all manpages with commit tag stripped, also add bitcoin-tx
2017-03-02 11:18:42 -08:00
nomnombtc
1b5e712c72
change help string --enable-man to --disable-man
2017-03-02 11:18:40 -08:00
nomnombtc
abfcaefe3d
add conditional for --enable-man, default is yes
2017-03-02 11:18:22 -08:00
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
zkbot
14711a4a43
Auto merge of #2141 - bitcartel:1969_free_rate_limiter, r=daira
...
Closes #1969 . Large shielded transactions using the default fee are no longer treated as "free" transactions
2017-03-02 03:51:14 +00:00
zkbot
c1cff6069f
Auto merge of #2130 - str4d:2095-metrics-reindex-msg, r=arcalinea
...
Do not ask a UI question on metrics screen
Based on bitcoin/bitcoin#8257.
Closes #2095 .
2017-03-02 03:08:29 +00:00
zkbot
1a41597af8
Auto merge of #2114 - bitcartel:fix_fr_test_bug_and_new_testnet_addresses, r=daira
...
Closes #2113 . Fixes bug in test and updates testnet fr addresses.
Updating the testnet fr addresses will introduce a consensus change on testnet, so all testnet nodes will be required to upgrade. See #2113 for more information.
2017-03-02 02:18:33 +00:00
zkbot
312fbd9d0e
Auto merge of #1932 - aniemerg:1522-pause-mining-for-joinsplit, r=arcalinea
...
Pause mining during JoinSplit creation
Closes #1522 .
2017-03-02 01:23:44 +00:00
Allan Niemerg
49c2cecb9f
Pause mining during joinsplit creation
2017-03-01 16:54:26 -08:00
zkbot
44ccf1ff20
Auto merge of #2123 - bitcartel:2112_z_getoperationresult_returns_executing_status, r=arcalinea
...
Closes #2112 where z_getoperationresult could return stale status.
The problem was similar to a check-then-act race condition. Status object was obtained from an operation, which might be in an 'executing' state. Instead of checking the state recorded in the status object, the operation was queried again to see if it was in a finished state (failed,success,cancelled) and if yes, the status object was returned to the user. However, if the operation had changed state in the background, the status object would be stale.
2017-03-02 00:24:26 +00:00
Simon
85c9ecb846
Part of #1969 . Update tests to avoid error 'absurdly high fee' from change in min fee calc.
2017-02-28 11:44:51 -08:00
Simon
ebe750a882
Part of #1969 . Changing min fee calculation also changes the dust threshold.
2017-02-28 11:44:07 -08:00
Simon
0f724e716d
Closes #1969 . Default fee now sufficient for large shielded tx.
...
Sets default min relay tx fee to 100, which is used to initialize
nSatoshisPerK for min fee calculation. The default z_sendmany
fee of 10000 is now sufficient to cover a tx of size 100000 bytes,
so txs will not be treated as "free" and hit the free rate limiter.
2017-02-28 11:43:04 -08:00
zkbot
6f5d8fbe81
Auto merge of #2126 - bitcartel:checkpoint_mainnet_67500, r=daira
...
Add checkpoint at block 67500 (mainnet)
Close #2125
2017-02-28 01:01:56 +00:00
zkbot
98ddf87d18
Auto merge of #2128 - bitcartel:checkpoint_testnet_38000, r=daira
...
Add checkpoint at block 38000 (testnet)
Closes #2127
2017-02-28 00:12:04 +00:00
Jay Graber
8d2dac6e3f
Inc num of txs in test mempool
2017-02-27 14:11:09 -08:00
Jack Grigg
0cd769fbb7
Treat metrics screen as non-interactive for now
...
Closes #2095
2017-02-23 12:55:14 +00:00
Jack Grigg
f42cde3c30
Remove reference to -reindex-chainstate
...
Revert this when bitcoin/bitcoin#7917 is merged.
2017-02-23 12:42:28 +00:00
Pieter Wuille
5d66d0a11e
Do not ask a UI question from bitcoind
2017-02-23 12:40:45 +00:00
Simon
5a888f7294
Add testnet checkpoint at block 38000
2017-02-22 22:34:20 -08:00
Simon
b897de531c
Add mainnet checkpoint at block 67500
2017-02-22 21:36:44 -08:00
nomnombtc
7a8eda9ec3
add doc/man to subdir if configure flag --enable-man is set
2017-02-23 02:24:54 +00:00
nomnombtc
12a3f323a6
add doc/man/Makefile.am to include manpages
2017-02-23 02:24:54 +00:00
nomnombtc
561e46a9ef
add autogenerated manpages by help2man
2017-02-23 02:24:54 +00:00
nomnombtc
0745198ccf
add gen-manpages.sh description to README.md
2017-02-23 02:24:54 +00:00
nomnombtc
95d93342c8
add script to generate manpages with help2man
2017-02-23 02:24:54 +00:00
zkbot
5f619492e8
Auto merge of #2107 - bitcartel:fix_release_process_docs, r=str4d
...
Update release process documentation.
Closes #2083 , #2084 , #2088 .
2017-02-23 01:33:01 +00:00
Simon
2f21206cfc
Closes #2112 where z_getoperationresult could return stale status.
2017-02-22 16:14:56 -08:00
Simon
58582925d8
Closes #2084 . Fix incorrect year in timestamp.
2017-02-22 11:36:52 -08:00
Simon
861c89ae40
Closes #2083 and #2088 . Update release process documentation
2017-02-22 11:22:41 -08:00
Simon
1003180260
Keep first three original testnet fr addresses so existing coinbase
...
transactions on testnet remain valid during upgrade. New addresses
will be used starting from block 53127.
2017-02-22 11:04:17 -08:00
zkbot
4e338b0c36
Auto merge of #2093 - bitcartel:sent_network_alerts, r=daira
...
Closes #2092 . Maintain record of alerts sent onto mainnet.
2017-02-20 17:28:40 +00:00
Simon
4340ec9705
Update founders reward addresses for testnet
2017-02-20 09:23:06 -08:00