jnewbery
b7e144bb73
Add test cases to test new bitcoin-tx functionality
...
This commit add testcases to test the following functions in bitcoin-tx:
- add a pay to non-standard script output
- add a P2SH output
- add a P2WSH output
- add a P2WSH wrapped in a P2SH output
- add a pay to pub key output
- add a P2WPKH output
- add a P2WPKH wrapped in a P2SH output
- add a bare multisig output
- add a multisig in P2SH output
- add a multisig in a P2WSH output
- add a multisig in a P2WSH wrapped in as P2SH output
8 years ago
jnewbery
61a153443e
Add all transaction output types to bitcoin-tx.
...
This commit enhances bitcoin-tx so all remaining standard TXO types can be created:
- Pay to Pub Key
- Multi-sig
- bare multi-sig
- multi-sig in Pay To Script Hash
- multi-sig in Pay to Witness Script Hash
- multi-sig in Pay to Witness Script Hash, wrapped in P2SH
- Pay to Witness Pub Key Hash
- Pay to Witness Pub Key Hash, wrapped in P2SH
- Pay to Witness Script Hash
- Pay to Witness Script Hash, wrapped in P2SH
8 years ago
Stanislas Marion
1814b089fb
add p2sh and segwit options to bitcoin-tx outscript command
8 years ago
Luke Dashjr
8562792095
GUI/RPCConsole: Include importmulti in history sensitive-command filter
8 years ago
Luke Dashjr
ff77faf480
Qt/RPCConsole: Use RPCParseCommandLine to perform command filtering
8 years ago
Luke Dashjr
a79598ddf4
Qt/Test: Make sure filtering sensitive data works correctly in nested commands
8 years ago
Luke Dashjr
629cd42364
Qt/RPCConsole: Teach RPCParseCommandLine how to filter out arguments to sensitive commands
8 years ago
Luke Dashjr
e2d9213c32
Qt/RPCConsole: Make it possible to parse a command without executing it
8 years ago
Luke Dashjr
1755c04576
Qt/RPCConsole: Truncate filtered commands to just the command name, rather than skip it entirely in history
8 years ago
Luke Dashjr
d80a00660f
Qt/RPCConsole: Add signmessagewithprivkey to list of commands filtered from history
8 years ago
Luke Dashjr
afde12f265
Qt/RPCConsole: Refactor command_may_contain_sensitive_data function out of RPCConsole::on_lineEdit_returnPressed
8 years ago
Luke Dashjr
de8980df9d
Bugfix: Do not add sensitive information to history for real
...
Original code was missing braces, and short-circuited before checking everything after importprivkey
8 years ago
Jonas Schnelli
9044908636
Qt/RPCConsole: Don't store commands with potentially sensitive information in the history
...
Filters importprivkey, signrawtransaction, walletpassphrase, walletpassphrasechange, and encryptwallet
8 years ago
Jonas Schnelli
fc95daa97f
Qt/RPCConsole: Save current command entry when browsing history
...
Shell-like, but doesn't store changed history commands until executing it.
8 years ago
Douglas Roark
e2b5c98cef
Fix linker error when configured with --enable-lcov
8 years ago
MarcoFalke
dce853ef76
Merge #9436 : test: Include tx data in EXTRA_DIST
...
fa558be
test: Include tx data in EXTRA_DIST (MarcoFalke)
8 years ago
Pieter Wuille
2db4cbcc43
Merge #9349 : Make CScript (and prevector) c++11 movable.
...
2ddfcfd
Make CScript (and prevector) c++11 movable. (Pieter Wuille)
8 years ago
Pieter Wuille
7aa700424c
Merge #9243 : Clean up mapArgs and mapMultiArgs Usage
...
c2f61be
Add a ForceSetArg method for testing (Matt Corallo)
4e04814
Lock mapArgs/mapMultiArgs access in util (Matt Corallo)
4cd373a
Un-expose mapArgs from utils.h (Matt Corallo)
71fde55
Get rid of mapArgs direct access in ZMQ construction (Matt Corallo)
0cf86a6
Introduce (and use) an IsArgSet accessor method (Matt Corallo)
2b5f085
Fix non-const mapMultiArgs[] access after init. (Matt Corallo)
c8042a4
Remove arguments to ParseConfigFile (Matt Corallo)
8 years ago
MarcoFalke
fa558be2c1
test: Include tx data in EXTRA_DIST
8 years ago
MarcoFalke
dbc8a8c86a
Merge #9435 : Removed unused variable in test, fixing warning.
...
35356b4
Remove unused variable in test, fixing warning. (Russell Yanofsky)
8 years ago
Matt Corallo
c2f61bebb1
Add a ForceSetArg method for testing
8 years ago
Russell Yanofsky
35356b40ef
Remove unused variable in test, fixing warning.
...
Pointed out by Pavel Janík <Pavel@Janik.cz> in
https://github.com/bitcoin/bitcoin/pull/9308 .
8 years ago
Suhas Daftuar
bd02bddb93
Release cs_main before processing cmpctblock as header
8 years ago
Suhas Daftuar
680b0c0138
Release cs_main before calling ProcessNewBlock (cmpctblock handling)
8 years ago
Matt Corallo
4e048142a5
Lock mapArgs/mapMultiArgs access in util
8 years ago
Matt Corallo
4cd373aea8
Un-expose mapArgs from utils.h
8 years ago
Matt Corallo
71fde5563b
Get rid of mapArgs direct access in ZMQ construction
8 years ago
Matt Corallo
0cf86a6678
Introduce (and use) an IsArgSet accessor method
8 years ago
Matt Corallo
2b5f085ad1
Fix non-const mapMultiArgs[] access after init.
...
Swap mapMultiArgs for a const-reference to a _mapMultiArgs which is
only accessed in util.cpp
8 years ago
Matt Corallo
c8042a48f0
Remove arguments to ParseConfigFile
8 years ago
Pieter Wuille
407cdd6cb8
Do not evaluate hidden LogPrint arguments
8 years ago
Jonas Schnelli
54f80263fc
[CoinControl] Allow non-wallet owned change addresses
8 years ago
Jonas Schnelli
9479f8dfcf
Allow shutdown during LoadMempool, dump only when necessary
8 years ago
MarcoFalke
0f921e6a04
Merge #9406 : Re-enable a blank v1 Tx JSON test
...
b371732
Re-enable a blank v1 Tx JSON test (Douglas Roark)
8 years ago
Jonas Schnelli
b01667c778
Mention RSVG dependency when creating the disk image on OSX
8 years ago
Cory Fields
09aefb5177
build: Fix 'make deploy' for OSX
...
Native OSX uses system tools rather than 3rd party dependencies. rsvg-convert
is still required, though.
8 years ago
Pieter Wuille
ba3cecf5c4
Share unused mempool memory with coincache
...
If the mempool is not completely full, treat the difference between
the maximum size and the actual usage as available for the coin cache.
This also changes the early flush trigger from (usage > 0.9 * space)
to (usage > 0.9 * space && usage > space - 100MB). This means we're not
permanently leaving 10% of the space unused when the space is large.
8 years ago
accraze
3f67972654
updated listsinceblock rpc docs
...
fixes #8758
8 years ago
MarcoFalke
041331e1da
Merge #9407 : [Trivial] Added missing colons in when running help command
...
afe5b3f
Added missing colons in when running help command (Anditto Heristyo)
8 years ago
Anditto Heristyo
afe5b3f553
Added missing colons in when running help command
8 years ago
Pieter Wuille
2ddfcfd2d6
Make CScript (and prevector) c++11 movable.
...
Such moves are used when reallocating vectors that contain them,
for example.
8 years ago
Pieter Wuille
91335ba389
Remove unused MakeTransactionRef overloads
8 years ago
Pieter Wuille
6713f0f142
Make FillBlock consume txn_available to avoid shared_ptr copies
8 years ago
Pieter Wuille
62607d796c
Convert COrphanTx to keep a CTransactionRef
8 years ago
Pieter Wuille
c44e4c467c
Make AcceptToMemoryPool take CTransactionRef
8 years ago
Patrick Strateman
d63ff6265b
Make nWalletDBUpdated atomic to avoid a potential race.
8 years ago
Douglas Roark
b3717326c1
Re-enable a blank v1 Tx JSON test
8 years ago
Gregory Sanders
0513c707aa
Make rpcauth help message clearer, add example in example .conf
8 years ago
Wladimir J. van der Laan
e8cfe1ee2d
Merge #8589 : Inline CTxInWitness inside CTxIn
...
f6fb7ac
Move CTxInWitness inside CTxIn (Pieter Wuille)
8 years ago
Wladimir J. van der Laan
0698639a38
Merge #9308 : [test] Add CCoinsViewCache Access/Modify/Write tests
...
07df40b
[test] Add CCoinsViewCache Access/Modify/Write tests (Russell Yanofsky)
8 years ago