Commit Graph

8598 Commits

Author SHA1 Message Date
Matt Corallo
e3c57d6ecf Better handle invalid parameters to signrawtransaction
This silently skips trying to merge signatures from inputs which
do not exist from transactions provided to signrawtransaction,
instead of hitting an assert.
2018-11-18 15:06:25 +03:00
Matt Corallo
cd9e9c7521 Fail in DecodeHexTx if there is extra data at the end 2018-11-18 15:06:16 +03:00
Jonas Schnelli
e33598e170 [Qt] RPC-Console: support nested commands and simple value queries 2018-11-18 14:52:18 +03:00
lateminer
107965eb5b Added CashAddr benchmarks for decoding/encoding
https://reviews.bitcoinabc.org/D1856
2018-11-18 14:40:49 +03:00
lateminer
c7346b5efd Add test case for GetTransactionSigOpCount without the P2SH flags passed in
https://reviews.bitcoinabc.org/D1596
2018-11-18 14:39:17 +03:00
MarcoFalke
2cf0ca0789 [qt] Do not translate ~ 2018-11-18 14:30:19 +03:00
R E Broadley
d08150f97b Make warning message about wallet balance possibly
being incorrect less ambiguous.

Fixes #9079
2018-11-18 14:29:38 +03:00
lateminer
720ba7e8bf Use blktest and blkreg in CashAddr tests 2018-11-18 14:22:04 +03:00
Jonas Schnelli
0b7dd2fdfc [Qt] use NotifyHeaderTip's height and date for the progress update 2018-11-18 13:59:46 +03:00
MarcoFalke
f1d191a658 [qt] sync-overlay: Don't show estimated number of headers left 2018-11-18 13:59:33 +03:00
MarcoFalke
79365457f9 [qt] sync-overlay: Don't block during reindex 2018-11-18 13:59:24 +03:00
Derek Miller
e526600b31 Trivial: Grammar and capitalization 2018-11-18 13:58:26 +03:00
Mitchell Cash
331669d0ad Fix future copyright year 2018-11-18 13:55:54 +03:00
Jonas Schnelli
bf1f749895 [Qt] Improve progress display during headers-sync and peer-finding 2018-11-18 13:47:42 +03:00
MarcoFalke
2296bc5e78 [qt] sync-overlay: Don't show progress twice
* Don't show integer progress in progress bar. (Already shown in front
  of progress bar)

* Also, use non-static method to get current msecs
2018-11-18 13:43:29 +03:00
Jonas Schnelli
4649292ae3 Use pindexBestHeader instead of setBlockIndexCandidates for NotifyHeaderTip() 2018-11-18 13:41:39 +03:00
Jonas Schnelli
1f5a7b96be [Qt] modalinfolayer: removed unused comments, renamed signal, code style overhaul 2018-11-18 13:41:15 +03:00
Jonas Schnelli
c37826a9e7 [Qt] only update "amount of blocks left" when the header chain is in-sync 2018-11-18 13:41:03 +03:00
Jonas Schnelli
98df73acd1 [Qt] add out-of-sync modal info layer 2018-11-18 13:40:46 +03:00
Jonas Schnelli
c106e9fc69 [Qt] ClientModel add method to get the height of the header chain 2018-11-18 13:40:31 +03:00
Jonas Schnelli
667ff1df0f [Qt] Always pass the numBlocksChanged signal for headers tip changed 2018-11-18 13:40:14 +03:00
Jonas Schnelli
ae0210d70f [Qt] make Out-Of-Sync warning icon clickable 2018-11-18 13:40:01 +03:00
Jonas Schnelli
fbf2fff41f [Refactor] refactor function that forms human readable text out of a timeoffset 2018-11-18 13:39:45 +03:00
lateminer
afbca142d1 Do not delete config.h when make clean 2018-11-18 13:36:47 +03:00
Michel van Kessel
dfe34ae2d3 new chainparamsseeds.h
new seeds generated  (included testnet)
2018-11-15 19:49:18 +01:00
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