Commit Graph

10942 Commits

Author SHA1 Message Date
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
010b7f223f Merge pull request #7 from michelvankessel/blackcoin-more-dev
QT5 -no-nis incompatibility
2018-10-28 21:20:47 +03:00
Michel van Kessel
2105f9bcd7 QT5 -no-nis incompatibility
#$(package)_config_opts += -no-nis  - Incompatible with current QT5
2018-10-28 10:19:12 +01: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
ae40e90530 Add test coverage for new RPC calls 2018-10-25 21:43:04 +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
lateminer
15e2eddfd7 Merge pull request #6 from michelvankessel/patch-1
Update for ARM QT5 Build
2018-10-25 00:08:44 +03:00
Michel van Kessel
672cd1f7e6 revert commit 2018-10-24 23:06:05 +02:00
Michel van Kessel
f17aa11972 depends: fix fontconfig with newer glibc #10851 2018-10-24 22:44:59 +02:00
Michel van Kessel
c0dee24764 update for ARMv7l build support 2018-10-24 22:40:57 +02:00
Michel van Kessel
47f5cf4a19 update for ARMv7l build support 2018-10-24 22:38:56 +02:00
Michel van Kessel
89e711dc50 Update for ARMv7l build support 2018-10-24 22:37:39 +02:00
Michel van Kessel
ea380e14b2 Update ARM QT5 build additions 2018-10-24 22:32:51 +02:00
Michel van Kessel
0ede3a466d Update for ARM QT5 Build 2018-10-24 22:19:31 +02:00
Pieter Wuille
18a2ae2b01 Benchmark SipHash 2018-10-24 23:17:02 +03:00
Wladimir J. van der Laan
3cbcdbd9a1 bench: Fix subtle counting issue when rescaling iteration count
Make sure that the count is a zero modulo the new mask before
scaling, otherwise the next time until a measure triggers
will take only 1/2 as long as accounted for. This caused
the 'min time' to be potentially off by as much as 100%.

Github-Pull: #9200
Rebased-From: e0a9cb25b0af87723d50cb8d8cffa10f1ebf7dcc
2018-10-24 23:15:27 +03:00
Gregory Maxwell
9e09ec5d6b Avoid integer division in the benchmark inner-most loop.
Previously the benchmark code used an integer division (%) with
 a non-constant in the inner-loop.  This is quite slow on many
 processors, especially ones like ARM that lack a hardware divide.

Even on fairly recent x86_64 like haswell an integer division can
 take something like 100 cycles-- making it comparable to the
 runtime of siphash.

This change avoids the division by using bitmasking instead. This
 was especially easy since the count was only increased by doubling.

This change also restarts the timing when the execution time was
 very low this avoids mintimes of zero in cases where one execution
 ends up below the timer resolution. It also reduces the impact of
 the overhead on the final result.

The formatting of the prints is changed to not use scientific
 notation make it more machine readable (in particular, gnuplot
 croaks on the non-fixedpoint, and it doesn't sort correctly).

This also hoists out all the floating point divisions out of the
 semi-hot path because it was easy to do so.

It might be prudent to break out the critical test into a macro
 just to guarantee that it gets inlined.  It might also make sense
 to just save out the intermediate counts and times and get the
 floating point completely out of the timing loop (because e.g.
 on hardware without a fast hardware FPU like some ARM it will
 still be slow enough to distort the results). I haven't done
 either of these in this commit.
2018-10-24 23:15:14 +03:00