Commit Graph

10204 Commits

Author SHA1 Message Date
Andrew
7a685072ab Create signmessagewithprivkey rpc 2018-01-06 14:35:15 +03:00
lateminer
ff53759be8 Fix: rpc: Register calls where they are defined 2018-01-06 14:19:30 +03:00
João Barbosa
fe292ef786 Add lockUnspents option to fundrawtransaction 2018-01-06 14:09:45 +03:00
João Barbosa
0e8da90b0a Add change options to fundrawtransaction 2018-01-06 14:09:13 +03:00
João Barbosa
94c2d82643 Add strict flag to RPCTypeCheckObj
Strict flag forces type check on all object keys.
2018-01-06 14:04:44 +03:00
Wladimir J. van der Laan
b460adbab0 rpc: Register calls where they are defined 2018-01-06 13:58:48 +03:00
lateminer
36888feaff Fix: List solvability in listunspent output and improve help 2018-01-06 03:21:24 +03:00
lateminer
564defb161 Turn blockchain.cpp and mining.cpp into their real shape 2018-01-06 02:00:23 +03:00
Daniel Cousens
780775d5bd move rpc* to rpc/ 2018-01-06 01:57:48 +03:00
lateminer
135dab2ee4 Prepare rpcblockchain.cpp and rpcmining.cpp for further actions 2018-01-06 01:57:40 +03:00
Jonas Schnelli
6bab17dc2d [RPC, Wallet] Move RPC dispatch table registration to wallet/ code 2018-01-06 01:27:37 +03:00
Daniel Cousens
ce7f082de5 remove unnecessary LOCK(cs_main) 2018-01-06 01:12:54 +03:00
jl2012
fe710e3612 RPC: Hide softfork if timeout is 0 2018-01-06 01:12:35 +03:00
MarcoFalke
6df97ea819 [rpcwallet] Don't use floating point 2018-01-06 01:10:19 +03:00
Jonas Nick
d312c5b847 Reduce unnecessary hashing in signrawtransaction 2018-01-06 01:06:11 +03:00
Wladimir J. van der Laan
d6c228b173 rpc: Add relaytxes flag to getnetworkinfo
Re-work of PR #7841 by dragongem45.
Closes #7771.
2018-01-06 01:05:10 +03:00
Wladimir J. van der Laan
e0de81556a net: Add fRelayTxes flag
Add a fRelayTxes to keep track of the relay transaction flag
we send to other peers.
2018-01-06 01:05:02 +03:00
instagibbs
541225b63a push back getaddednodeinfo dead value 2018-01-06 01:04:08 +03:00
Pieter Wuille
c23ecc1256 List solvability in listunspent output and improve help 2018-01-06 01:02:21 +03:00
Jonas Schnelli
f2fe8fc5df [ZMQ] append a message sequence number to every ZMQ notification 2018-01-06 01:02:03 +03:00
lateminer
b23b02abfb Update zmq_test.py
faa41ee204 (diff-8245b6baab6211f3084ade8ab379bf81)
2018-01-06 01:01:27 +03:00
Jonas Schnelli
b125c6e461 [ZMQ] refactor message string 2018-01-06 00:54:05 +03:00
mrbandrews
583764d8df Speed up getchaintips. 2018-01-06 00:51:40 +03:00
Wladimir J. van der Laan
51a43ca5fe rpc: make sure gettxoutsetinfo hash has txids
The key (transaction id for the following outputs) should be serialized
to the HashWriter.

This is a problem as it means different transactions in the same
position with the same outputs will potentially result in the same hash.

Fixes primary concern of #7758.
2018-01-06 00:51:12 +03:00
Wladimir J. van der Laan
b81f2085e0 crypto: bytes counts are 64 bit
Byte counts for SHA256, SHA512, SHA1 and RIPEMD160 must be 64 bits.
`size_t` has a different size per platform, causing divergent results
when hashing more than 4GB of data.
2018-01-06 00:51:03 +03:00
Wladimir J. van der Laan
350739ab6c txdb: Add Cursor() method to CCoinsView to iterate over UTXO set
Add a method Cursor() to CCoinsView that returns a cursor which can be
used to iterate over the whole UTXO set.

- rpc: Change gettxoutsetinfo to use new Cursor method

- txdb: Remove GetStats method - Now that GetStats is implemented in
  terms of Cursor, remove it.
2018-01-06 00:50:16 +03:00
Pavel Janík
9fd6bc6564 RPC: do not print ping info in getpeerinfo when no ping received yet, fix help 2018-01-06 00:43:19 +03:00
Rusty Russell
b7f1e510a2 getblockchaininfo: make bip9_softforks an object, not an array. 2018-01-06 00:42:54 +03:00
mruddy
06eff6304b RPC: add versionHex in getblock and getblockheader JSON results; expand data in getblockchaininfo bip9_softforks field. 2018-01-06 00:30:29 +03:00
Denis Lukianov
e5199580b6 Correct importaddress help reference to importpubkey 2018-01-06 00:24:35 +03:00
Pavel Vasin
7393f538e0 use cached block hash in blockToJSON() 2018-01-06 00:23:40 +03:00
Wladimir J. van der Laan
b8d0c5dacc rpc: Input-from-stdin mode for bitcoin-cli
Implements #7442 by adding an option `-stdin` which reads
additional arguments from stdin, one per line.

For example

```bash
echo -e "mysecretcode\n120" | src/bitcoin-cli -stdin walletpassphrase
echo -e "walletpassphrase\nmysecretcode\n120" | src/bitcoin-cli -stdin
```
2018-01-06 00:20:17 +03:00
paveljanik
87bb358c8a Fix typo, wrong information in gettxout help text. 2018-01-06 00:16:47 +03:00
Wladimir J. van der Laan
f63b6323ce rpc: remove cs_main lock from createrawtransaction
This is a pure utility function that doesn't use
main's data structures, so it does not require that lock.
2018-01-06 00:15:53 +03:00
janko33bd
92bc14233f Implementation of OP_COUNT_ACK 2018-01-05 22:06:35 +01:00
janko33bd
10ef7d75f5 Revert "[Qt] Add dbcache migration path"
This reverts commit 921b8483da.
2018-01-05 21:58:03 +01:00
janko33bd
58ae06661e Merge pull request #11 from lateminer/qt-updates-0.13
GUI updates from Bitcoin Core 0.13.x
2018-01-04 21:47:56 +01:00
lateminer
91252c3db6 Add missing "\n" in LicenseInfo() 2018-01-04 22:53:37 +03:00
matthias
2567f2f1ca Simple Update to File 'bitcoin-qt.desktop' 2018-01-04 22:13:00 +03:00
Wladimir J. van der Laan
ea3b89d1c4 qt: Use correct conversion function for boost::path datadir
Fixes #9089.
2018-01-04 22:12:28 +03:00
Jonas Schnelli
49ac458e35 [Qt] make warnings label selectable 2018-01-04 22:10:21 +03:00
rodasmith
1a0373c42c fix op order to append first alert 2018-01-04 21:52:17 +03:00
Jonas Schnelli
5a372293b8 [Qt] show network/chain errors in the GUI 2018-01-04 21:51:54 +03:00
Wladimir J. van der Laan
fcf8393c60 qt: Fix random segfault when closing "Choose data directory" dialog
The `pickDataDirectory()` function was calling `exit(0)` to quit
the application when the user closes the dialog without choosing
a data directory.

This is a bad idea because a background thread is created (to
check free space on the drive of the currently selected datadir).
The thread is not stopped and unwound properly, resulting in a potential
race condition somewhere deep in Qt.

So replace the `exit()` by a boolean return value, and let the
stack unwind normally.
2018-01-04 21:49:41 +03:00
Jonas Schnelli
0b983c1820 [Qt][CoinControl] fix UI bug that could result in paying unexpected fee 2018-01-04 21:48:01 +03:00
Andrew Chow
b6d51eb3ab Load choose datadir dialog after options reset 2018-01-04 21:44:35 +03:00
Andrew Chow
c305d27605 Persist the datadir after option reset
After a reset is performed, the datadir setting is saved and readded to the settings so that it is persisted across option resets.
2018-01-04 21:44:26 +03:00
adlawren
708c740b1a Fix minimize and close bugs
refs #8225

To ensure the GUI closes when the "Minimize on close" window option is disabled, and the "Minimize to the tray instead of the taskbar" window option is enbaled, remove a check made against the "Minimize to the tray instead of the taskbar" value, made during GUI closure.

To ensure the GUI minimizes to the taskbar when the "Minimize on close" window option is enabled, and the "Minimize to the tray instead of the taskbar" window option is disabled, minimize the GUI and ignore the closure event.
2018-01-04 21:43:50 +03:00
MarcoFalke
4dae1df717 [doc] Add website links to about dialog 2018-01-04 21:33:20 +03:00
Jonas Schnelli
921b8483da [Qt] Add dbcache migration path 2018-01-04 21:28:36 +03:00