Wladimir J. van der Laan
4e157fc60d
json: fail read_string if string contains trailing garbage
...
Change `read_string` to fail when not the entire input has been
consumed. This avoids unexpected, even dangerous behavior (fixes #6223 ).
The new JSON parser adapted in #6121 also solves this problem so in
master this is a temporary fix, but should be backported to older releases.
Also adds tests for the new behavior.
10 years ago
Jonas Schnelli
0a32a9347e
OSX: use "Bitcoin Core" as Bundle Display Name
10 years ago
Mark Friedenbach
efd44440d8
Explicitly set tx.nVersion for the genesis block and mining tests
...
If/when CTransaction::CURRENT_VERSION is incremented, this will break CChainParams and the miner tests. This fix sets the transaction version explicitly where we depend on the hash value (genesis block, proof of work checks).
10 years ago
Suhas Daftuar
aa8c827968
P2P regression test for new AcceptBlock behavior
10 years ago
Suhas Daftuar
9be0e6837b
Be stricter in processing unrequested blocks
...
AcceptBlock will no longer process an unrequested block, unless it has not
been previously processed and has more work than chainActive.Tip()
10 years ago
Philip Kaufmann
d648236d87
bump version in clientversion.h
10 years ago
Cory Fields
960e99404f
gitian: Bump cache dir for current master
...
Do not backport.
10 years ago
Cory Fields
be656283f9
gitian: bump faketime to something more recent
...
This helps in file views where binaries are sorted by time
10 years ago
Cory Fields
c3cdd7b312
osx: set min version to 10.7 for 0.11+
10 years ago
Philip Kaufmann
51fc672f59
[Qt] disconnect peers from peers tab via context menu
...
- It is now allowed to disconnect peers from peers tab via
right-click context menu. Peers are not permanently banned!
10 years ago
Wladimir J. van der Laan
f00b62391b
Merge pull request #6203
...
d449772
Remove P2SH coinbase flag, no longer interesting (Luke Dashjr)
10 years ago
Wladimir J. van der Laan
0e4f2a0a1f
Merge pull request #6210
...
7fd5b80
build: disable optional use of gmp in internal secp256k1 build (Wladimir J. van der Laan)
10 years ago
Wladimir J. van der Laan
88a7ead5de
Merge pull request #6172
...
a1ba077
Ignore getheaders requests when not synced. (Suhas Daftuar)
10 years ago
Jonas Schnelli
a2241eabfd
[OSX] revert renaming of Bitcoin-Qt.app
10 years ago
Philip Kaufmann
eebd4cca19
[init] add -blockversion help and extend -upnp help
10 years ago
Wladimir J. van der Laan
87550eefc1
Merge pull request #6183
...
28bf062
Fix off-by-one error w/ nLockTime in the wallet (Peter Todd)
10 years ago
Wladimir J. van der Laan
8d05ec7bda
Merge pull request #6164
...
aa41bc8
Update help message to match the #4219 change (lpescher)
f60bb5e
Update documentation to match the #4219 change (lpescher)
cb87386
Make command line option to show all debugging consistent with similar options (lpescher)
10 years ago
Wladimir J. van der Laan
4f1677b6ba
Merge pull request #6198
...
0bb4385
Improve comment explaining purpose of MAX_MONEY constant (Peter Todd)
10 years ago
Wladimir J. van der Laan
7fd5b801ff
build: disable optional use of gmp in internal secp256k1 build
...
Until secp256k1 is used for verification there is no reason for Bitcoin
Core's secp256k1 to link against gmp, even if available. Pass a flag to
configure to override the bignum implementation.
This fixes a crash at runtime on ppc64 reported by @gmaxwell .
10 years ago
Wladimir J. van der Laan
3e8ccc765a
Now that 0.11 has been branched, master is 0.11.99
...
... in preparation for 0.12
10 years ago
Wladimir J. van der Laan
e9d0d252fc
Merge pull request #6208
...
d6922aa
[net, trivial] remove using namespace std pollution in netbase.cpp (Philip Kaufmann)
49b2292
[net, trivial] explicitly use std::string for FindNode (Philip Kaufmann)
10 years ago
Wladimir J. van der Laan
42746b0476
Merge pull request #6193
...
6e71efa
[REST] remove json input for getutxos, limit to query max. 15 outpoints (Jonas Schnelli)
64b8027
rest.cpp: strip whitespace (Jonas Schnelli)
10 years ago
Wladimir J. van der Laan
921ea89bc3
Merge pull request #6195
...
8273793
Eliminate compiler warning due to unused variable (Suhas Daftuar)
10 years ago
Philip Kaufmann
d6922aad2c
[net, trivial] remove using namespace std pollution in netbase.cpp
10 years ago
Philip Kaufmann
49b22928ee
[net, trivial] explicitly use std::string for FindNode
...
- in OpenNetworkConnection we have a FindNode call, which gets a const
char*, wheras we only have defined a FindNode for std::string
10 years ago
Luke Dashjr
d449772cf6
Remove P2SH coinbase flag, no longer interesting
10 years ago
Wladimir J. van der Laan
b679a6b403
doc: Add to 0.11 release notes
...
Add information about further notable changes:
- Big endian support
- Memory usage optimization
- Disable wallet transaction broadcast
- Stream isolation for Tor
10 years ago
Wladimir J. van der Laan
fb061c3391
Merge pull request #6194
...
ee9a2e4
Fix walletbackup.py after directory restructuring (Suhas Daftuar)
10 years ago
Jonas Schnelli
7e6569ea5b
[squashme] improve/corrects prune mode detection test for required wallet rescans
10 years ago
Jonas Schnelli
7a12119d7a
[RPC] disable import functions in pruned mode
...
import functions could lead to a rescan beyond prune level
10 years ago
Jonas Schnelli
3201035f22
[autoprune] allow wallet in pruned mode
10 years ago
Peter Todd
0bb43854c7
Improve comment explaining purpose of MAX_MONEY constant
10 years ago
Mark Friedenbach
ef8dfe41d1
Prevent block.nTime from decreasing
...
Under some circumstances it is possible for there to be a significant,
discontinuous jump in a node's clock value. On mining nodes, this can
result in block templates which are no longer valid due to time-based
nLockTime constraints. UpdateTime() is modified so that it will never
decrease a block's nLockTime, thereby preventing such invalidations.
10 years ago
Jonas Schnelli
6e71efa9f0
[REST] remove json input for getutxos, limit to query max. 15 outpoints
...
Remove possibility to send json encoded parameters to `/rest/getutxos/` to avoid possible DoS scenarios.
The JSON output option is untouched.
10 years ago
Suhas Daftuar
8273793350
Eliminate compiler warning due to unused variable
10 years ago
Suhas Daftuar
a1ba0778dd
Ignore getheaders requests when not synced.
10 years ago
Wladimir J. van der Laan
ce56f5621a
Merge pull request #6173
...
e697343
Chainparams: Explicit CMessageHeader::MessageStartChars to functions in main: (Jorge Timón)
10 years ago
Jorge Timón
e69734309c
Chainparams: Explicit CMessageHeader::MessageStartChars to functions in main:
...
-UndoWriteToDisk
-WriteBlockToDisk
10 years ago
Suhas Daftuar
ee9a2e4271
Fix walletbackup.py after directory restructuring
...
Also add walletbackup.py to rpc-tests.sh
10 years ago
Wladimir J. van der Laan
c7c9af381c
Merge pull request #5669
...
da29ecb
Consensus: MOVEONLY: Move CValidationState from main consensus/validation (jtimon)
27afcd8
Consensus: Refactor: Decouple CValidationState from main::AbortNode() (Cory Fields)
10 years ago
Wladimir J. van der Laan
2b2d5b92b9
Merge pull request #6189
...
44e1aad
Autoprune release notes included (mrbandrews)
10 years ago
Wladimir J. van der Laan
c608b6daf9
Merge pull request #6097
...
7b7f258
rpc-tests: remove python-bitcoinrpc directory (Jonas Schnelli)
a85b2e2
pull-tester/rpc-tests.sh: disable script_test.py test (Jonas Schnelli)
3e875b1
pull-tester/rpc-tests.sh: allow passing throug of arguments (Jonas Schnelli)
00706a5
update rpc-tests readme.md (Jonas Schnelli)
344e08e
extend rpc-tests.sh control script with non-travis tests (Jonas Schnelli)
64937fe
[QA] restructure rpc tests directory (Jonas Schnelli)
10 years ago
Peter Todd
28bf06236d
Fix off-by-one error w/ nLockTime in the wallet
...
Previously due to an off-by-one error the wallet ignored
nLockTime-by-height transactions that would be valid in the next block
even though they are accepted into the mempool. The transactions
wouldn't show up until confirmed, nor would they be included in the
unconfirmed balance. Similar to the mempool behavior fix in 665bdd3b
,
the wallet code was calling IsFinalTx() directly without taking into
account the fact that doing so tells you if the transaction could have
been mined in the *current* block, rather than the next block.
To fix this we strip IsFinalTx() of non-consensus-critical
functionality, removing the default arguments, and add CheckFinalTx() to
check if a transaction will be final in the next block.
10 years ago
Wladimir J. van der Laan
68aff60e4a
Merge pull request #6190
...
1fe4c4f
gitian-downloader: Update luke-jr's key (Luke Dashjr)
10 years ago
Jonas Schnelli
64b8027c5c
rest.cpp: strip whitespace
10 years ago
Wladimir J. van der Laan
0bcf04f046
Merge pull request #6153
...
8c35b6f
Parameter interaction: disable upnp if -proxy set (Wladimir J. van der Laan)
10 years ago
Wladimir J. van der Laan
df992b9c18
Merge pull request #6174
...
213f257
doc: add translation strings policy (Wladimir J. van der Laan)
10 years ago
Wladimir J. van der Laan
182686cdbd
Merge pull request #6186
...
b45c50c
Fix two problems in CSubNet parsing (Wladimir J. van der Laan)
19e8d7b
Simplify code for CSubnet (Wladimir J. van der Laan)
10 years ago
Luke Dashjr
1fe4c4fcff
gitian-downloader: Update luke-jr's key
10 years ago
mrbandrews
44e1aad500
Autoprune release notes included
10 years ago