Commit Graph

7471 Commits

Author SHA1 Message Date
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
Daniel Cousens
77e1ba55a0 rpc: update inline comments to refer to new file paths 2018-10-25 21:46:46 +03:00
Suhas Daftuar
7ce9eda70a Add ancestor statistics to mempool entry RPC output 2018-10-25 21:43:15 +03:00
Suhas Daftuar
3af359a022 Add getmempoolentry RPC call 2018-10-25 21:42:51 +03:00
Suhas Daftuar
29625f45c0 Add getmempooldescendants RPC call 2018-10-25 21:42:40 +03:00
Suhas Daftuar
eed964d168 Add getmempoolancestors RPC call 2018-10-25 21:41:56 +03:00
Suhas Daftuar
9a9ee1144b Refactor logic for converting mempool entries to JSON 2018-10-25 21:39:26 +03:00
S. Matthew English
5b64f86866 instance of 'mem pool' to 'mempool' 2018-10-25 21:39:04 +03:00
MarcoFalke
2fff808551 [rpc] throw JSONRPCError when utxo set can not be read
Github-Pull: #8832
Rebased-From: fa05cfdf256f3bc13b89ea80231e342f4302d204
2018-10-25 21:36:14 +03:00
Pavel Janík
58eab43cdc The bit field is shown only when status is "started" 2018-10-25 21:36:01 +03:00
João Barbosa
6521c85f30 Improve COutPoint less operator 2018-10-25 21:07:58 +03:00
Pieter Wuille
88c725c6ac Reformat version in UpdateTip and other messages 2018-10-25 21:06:16 +03:00
Matthew English
52bcc93c77 Doc: Update isStandardTx comment 2018-10-25 20:53:34 +03:00
Marcel Krüger
aab3e6a293 Removed comment about IsStandard for P2SH scripts
Since #4365 (6259937388) P2SH scripts do not have to be IsStandard scripts.
2018-10-25 20:53:19 +03:00
lateminer
074b90fab2 Remove COUNT_ACKS leftover 2018-10-25 20:52:22 +03:00
Johnson Lau
55f62b1f68 Add policy: null signature for failed CHECK(MULTI)SIG 2018-10-25 20:51:48 +03:00
lateminer
bb407424fa Remove relaying of double-spends 2018-10-25 20:37:40 +03:00
lateminer
91698d9fd4 Remove -respendnotify option 2018-10-25 20:04:44 +03:00
lateminer
9558397bb7 Add more checks for coinstake transactions 2018-10-25 19:58:07 +03:00
lateminer
ea42219781 Prettify coinstake rejecting error message in AcceptToMemoryPoolWorker()
main.cpp
2018-10-25 19:58:05 +03:00
Pieter Wuille
18a2ae2b01 Benchmark SipHash 2018-10-24 23:17:02 +03:00