Commit Graph

8573 Commits

Author SHA1 Message Date
lateminer
867057e879 Bump version to 0.13.2 2018-11-14 20:58:41 +03:00
lateminer
c74d94e684 Bump nMinimumChainWork on main net 2018-11-14 20:56:23 +03:00
lateminer
6787d44bd0 Make it compile 2018-11-14 20:55:45 +03:00
lateminer
55729c2f6e Update to Core 0.13.2 2018-11-14 19:43:28 +03:00
Wladimir J. van der Laan
f6a1ce534f qt: Plug many memory leaks
https://github.com/bitcoin/bitcoin/pull/9190
2018-11-11 18:59:12 +03:00
fanquake
d39badf3b4 Specify Protobuf version 2 in paymentrequest.proto
Github-Pull: #8742
Rebased-From: c4084c208509c42f796ebaa3eaded5f1cd40c506
2018-11-11 18:44:08 +03:00
lateminer
c7995eb9a2 Set BLOCK_CHAIN_SIZE to 5 GB 2018-11-11 18:40:37 +03:00
lateminer
1cb9772c35 GetTransactionSigOpCount() has to be int64_t
main.cpp
2018-11-11 18:07:54 +03:00
lateminer
b0c11697e6 Add amount check in test/script_tests.cpp 2018-11-11 17:47:05 +03:00
Pieter Wuille
45f139afc4 Enable mempool consistency checks in unit tests 2018-11-11 17:12:44 +03:00
lateminer
aabee84651 Add GetTransactionSigOpCount unit tests 2018-11-11 17:11:01 +03:00
Wladimir J. van der Laan
a1f776cd3c tests: add varints_bitpatterns test
The current tests for varint only check that
serialization-deserialization is a roundtrip. That is a useful test, but
it is also good to check for some exact bit patterns, to prevent a code
change that changes the serialization format from going undetected.

As the varint functions are templated, also check with different types.
2018-11-11 16:43:34 +03:00
Luke Dashjr
5a59508b27 Rewrite FormatParagraph to handle newlines within input strings correctly 2018-11-11 16:36:55 +03:00
lateminer
ca70ac43ab Add amount check to SignatureHash()
test/sighash_tests.cpp
2018-11-11 16:35:31 +03:00
Pavel Janík
576b08a7f8 Remove unused local variable shadowing upper local 2018-11-11 16:30:11 +03:00
Ethan Heilman
bec58f282f Fix typo adddrman to addrman as requested in #8070 2018-11-11 16:09:11 +03:00
EthanHeilman
90342d8b9c Remove non-determinism which is breaking net_tests #8069 2018-11-11 16:08:59 +03:00
Suhas Daftuar
611af28b87 Add unit tests for ancestor feerate mining 2018-11-11 16:00:45 +03:00
instagibbs
65db743b28 Corrected values 2018-11-11 16:00:13 +03:00
instagibbs
bb82eb1692 Gave miner test values constants for less error-prone values. 2018-11-11 15:59:24 +03:00
Pieter Wuille
0ebc1549ca Change sigOpCount to sigOpCost
test_bitcoin.cpp
test_bitcoin.h
2018-11-11 15:51:19 +03:00
Pieter Wuille
fbd2dec95f Implement SipHash in Python
Github-Pull: #8418
Rebased-From: 9c8593d2b4e25ef628172ceadbedf0ef078d01ef
2018-11-11 15:22:50 +03:00
jnewbery
7f51c400d2 bitcoin-util-test.py should fail if the output file is empty
Github-Pull: #8836
Rebased-From: da9469770847df56e67e629986129a087b5bd7a5
2018-11-11 15:16:54 +03:00
Pavel Janík
e85f041d13 Do not shadow local variables 2018-11-11 15:15:22 +03:00
Jeremy Rubin
a638b3764c Fix obvious assignment/equality error in test
Github-Pull: #8673
Rebased-From: 426e7bce0e365e0947f932ca46bcc48ca3a2f10e
2018-11-11 15:13:53 +03:00
Chris Stewart
941baa9eb5 Update README.md
Updating documentation for adding new unit test files

Removing unneeded sentence from README

Removing uint160_tests.cpp as it DNE

Formatting command line instructions to use ``

fixing 80 char formatting issue in README

fixing more nits

Github-Pull: #8428
Rebased-From: b8db185952c815444b7052092472ef9af3a42e89
2018-11-11 15:12:37 +03:00
Pieter Wuille
a43a6df7ef Add amounts to signature tests 2018-11-11 15:11:37 +03:00
lateminer
c5016d8d3c Remove missing locales
qt/bitcoin_locale.qrc
2018-11-10 20:33:27 +03:00
Karl-Johan Alm
a92f016b70 Uses built-in byte swap if available (Apple) and if bswap_XX is undefined 2018-11-10 20:09:05 +03:00
Gregory Maxwell
c0c8c006aa IsInitialBlockDownload no longer uses header-only timestamps. 2018-11-10 19:55:45 +03:00
jnewbery
c7f6a2e815 Add bitcoin-tx JSON tests
Github-Pull: #8829
Rebased-From: 54e5d7c1b81e1b76f5789abfa2cb1f5963cd9d72
2018-11-10 18:46:43 +03:00
isle2983
c0801a4176 [copyright] add MIT license headers to .sh scripts where missing 2018-11-09 22:55:07 +03:00
calebogden
8193c2da05 Fixing typos on security-check.py and torcontrol.cpp 2018-11-09 22:47:13 +03:00
lateminer
30966b05d9 Add pblock declaration in BlockAssembler::AddToBlock() 2018-11-09 20:41:40 +03:00
lateminer
a329674df6 Add proof-of-stake check in BlockAssembler::addPriorityTxs() 2018-11-02 00:48:18 +03:00
lateminer
3439588591 Update translations from Bitcoin Core 0.14 2018-11-01 21:43:13 +03:00
lateminer
6cdb9a7907 Set nStakeModifier correctly 2018-10-31 23:21:10 +03:00
lateminer
76d0663369 vTxSigOps -> vTxSigOpsCost 2018-10-30 00:31:21 +03:00
MarcoFalke
762df8afbe [doc] Remove outdated line from listunspent RPC help, fix typo 2018-10-29 22:05:10 +03:00
Chris Moore
a1198bd44d fix spelling mistake 2018-10-29 22:04:06 +03:00
Chris Moore
68e4ae75d3 add missing newline
Without the newline I see "bein" where the two lines are concatenated:

Note that all inputs selected must be of standard form and P2SH scripts must *bein* the wallet using importaddress or addmultisigaddress (to calculate fees).
2018-10-29 22:03:57 +03:00
Jonas Schnelli
1f742d5e59 [Wallet][RPC] add missing abandon status documentation 2018-10-29 22:03:29 +03:00
Wladimir J. van der Laan
3ef2c26f90 test: test leading space for ParseHex
BerkeleyDB dump files have key and value lines indented.
The salvage code passes these to ParseHex as-is.
Check this in the tests (should just pass with current code).
2018-10-29 21:56:21 +03:00
mrbandrews
0983e39965 Fixes ZMQ startup with bad arguments. 2018-10-29 21:52:20 +03:00
lateminer
414b8b267d Partly add amount output
605e8473a7 (diff-1dbee12e01d094e7366545ec024c5041)
2018-10-29 21:38:53 +03:00
Thomas Kerin
19820c1f9f [libconsensus] Script verification API with amounts 2018-10-29 21:07:14 +03:00
lateminer
55842c9d7a Add missing nTime parameter for coinbase transaction
miner.cpp
2018-10-26 01:17:10 +03:00
lateminer
7f3a40f51d Remove redefined functions
rpc/blockchain.cpp
2018-10-26 01:16:55 +03:00
Sev
e1f964bd02 Corrected JSON typo on setban of net.cpp
Github-Pull: #8512
Rebased-From: 6ffd996b8ee5f36ed4490410385f9b072da5889b
2018-10-25 22:02:25 +03:00
Chris Moore
5b2b334c1c fix typo in help text
'in which the transaction is included in'
2018-10-25 21:49:59 +03:00