UdjinM6
a5ac60b868
Merge remote-tracking branch 'bitcoin/0.12' into HEAD
...
+ merge fixes
+ keepass on evhttp
2016-02-06 16:48:04 +03:00
MarcoFalke
faf671bca6
[wallet] Clarify rpc help message with regard to rounding
2016-01-13 12:06:24 +01:00
Nick
996d3117c7
[RPC] Add transaction size to JSON output
...
This may be useful for blockchain explorers.
2015-11-28 17:06:56 +03:00
Peter Todd
b3ae384a8d
Remove LOCK(cs_main) from decodescript
...
Completely static RPC call that doesn't change or even look at mutable
state anywhere.
2015-11-13 17:19:33 -05:00
Jorge Timón
87cbdb8b41
Globals: Explicit Consensus::Params arg for main:
...
-CheckBlockIndex
-DisconnectTip
-GetTransaction
-InvalidateBlock
-ProcessGetData
-ReadBlockFromDisk
2015-10-30 14:07:30 +01:00
Wladimir J. van der Laan
bf7c1958d1
Merge pull request #5936
...
212bcca
Add optional locktime to createrawtransaction (Tom Harding)
2015-10-23 12:47:19 +02:00
Matt Corallo
d355cf4420
Only call TrimToSize once per reorg/blocks disconnect
2015-10-13 01:39:38 -07:00
Jonas Schnelli
9623e93473
[Univalue] add univalue over subtree
...
similar to secp256k1 include and compile univalue over a subtree
2015-10-01 10:49:57 +02:00
Wladimir J. van der Laan
48efbdbe98
Merge pull request #5264
...
af3208b
Resolve issue 3166. These changes decode valid SIGHASH types on signatures in assembly (asm) representations of scriptSig scripts. This squashed commit incorporates substantial helpful feedback from jtimon, laanwj, and sipa. (mruddy)
2015-09-25 19:19:07 +02:00
Tom Harding
212bcca920
Add optional locktime to createrawtransaction
...
A non-zero locktime also causes input sequences to be set to
non-max, activating the locktime.
2015-08-10 10:23:59 -07:00
Pavel Janík
d7078533eb
Add OP_RETURN support in createrawtransaction RPC call, add tests.
2015-08-06 20:27:52 +02:00
Ross Nicoll
9ca7857df7
Rationalize currency unit to "BTC"
...
Previously various user-facing strings have used inconsistent currency units "BTC",
"btc" and "bitcoins". This adds a single constant and uses it for each reference to
the currency unit.
Also adds a description of the unit for --maxtxfee, and adds the missing "amount"
field description to the (deprecated) move RPC command.
2015-08-03 22:58:30 +01:00
mruddy
af3208bfa6
Resolve issue 3166.
...
These changes decode valid SIGHASH types on signatures in assembly (asm) representations of scriptSig scripts.
This squashed commit incorporates substantial helpful feedback from jtimon, laanwj, and sipa.
2015-07-30 19:56:00 -04:00
Jorge Timón
9dd793f499
TRIVIAL: Missing includes
2015-07-23 21:10:22 +02:00
Jorge Timón
627b9deff4
Policy: MOVEONLY: Create policy/policy.h with some constants
2015-06-26 17:59:07 +02:00
Jonas Schnelli
9a8897f4ac
Remove JSON Spirit wrapper, remove JSON Spirit leftovers
...
- implement find_value() function for UniValue
- replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper
- remove JSON Spirit sources
2015-06-04 09:16:21 +02:00
Jonas Schnelli
3df0411ad9
remove JSON Spirit UniValue wrapper
2015-06-04 09:16:06 +02:00
Jonas Schnelli
6c7bee0624
expicit set UniValue type to avoid empty values
2015-06-04 09:16:05 +02:00
Jonas Schnelli
53b4671a9d
extend conversion to UniValue
2015-06-04 09:16:05 +02:00
Jeff Garzik
15982a8b69
Convert tree to using univalue. Eliminate all json_spirit uses.
2015-06-04 09:16:05 +02:00
UdjinM6
e50d9bbc5d
Merge branch '0.10' into v0.12.0.x_merge_btc010
2015-05-16 00:05:57 +03:00
jtimon
da29ecbcc6
Consensus: MOVEONLY: Move CValidationState from main consensus/validation
2015-05-15 16:05:28 +02:00
Cory Fields
824c011d16
wallet: fix boost::get usage with boost 1.58
...
Backport from master
2015-05-06 16:52:46 -04:00
dexX7
8ac2a4e178
RPC: show script verification errors in "signrawtransaction" result
...
If there are any script verification errors, when using "signrawtransaction", they are shown in the RPC result:
```
// ...
Result:
{
"hex" : "value", (string) The hex-encoded raw transaction with signature(s)
"complete" : true|false, (boolean) If the transaction has a complete set of signatures
"errors" : [ (json array of objects) Script verification errors (if there are any)
{
"txid" : "hash", (string) The hash of the referenced, previous transaction
"vout" : n, (numeric) The index of the output to spent and used as input
"scriptSig" : "hex", (string) The hex-encoded signature script
"sequence" : n, (numeric) Script sequence number
"error" : "text" (string) Verification or signing error related to the input
}
,...
]
}
```
2015-05-05 09:40:55 +02:00
Pieter Wuille
de8e801d3f
Report missing inputs in sendrawtransaction
2015-04-28 07:16:39 -07:00
Matt Corallo
59ed61b389
Add RPC call to generate and verify merkle blocks
2015-04-23 17:50:39 -07:00
charlescharles
0b2f93091f
Fix docs for 'complete' field in 'signrawtransaction' response
2015-04-20 13:29:20 +02:00
Jonas Schnelli
0b9dc9c8f5
[move] move listunspent to wallet/rpcwallet.cpp
2015-04-12 17:56:32 +02:00
UdjinM6
64eebc3316
0.12 dirty merge'n'fix (bitcoin 0.10)
2015-04-04 19:24:37 +03:00
Evan Duffield
5cb26c5928
Changed darkcoin references to dash
...
- Changed out logos (just a placeholder)
- DRK -> DASH
- ./darkcoin -> ./dash
2015-03-19 12:03:14 -07:00
Evan Duffield
35bb210c6b
Dash rebranding
2015-03-17 16:06:58 -07:00
Jonas Schnelli
50c72f23ad
[Move Only] Move wallet related things to src/wallet/
...
could once be renamed from /src/wallet to /src/legacywallet.
2015-03-12 14:13:02 +01:00
Wladimir J. van der Laan
87ecfb0f96
Merge pull request #5711
...
5ebe095
Trim RPC command table (Wladimir J. van der Laan)
4401b2d
Removed main.h dependency from rpcserver.cpp (Eric Lombrozo)
2015-02-04 10:23:09 +01:00
Pieter Wuille
2448d34298
Avoid storing a reference passed to SignatureChecker constructors
...
Rebased-From: 9fddceda44
Github-Pull: #5719
2015-02-03 08:52:13 +01:00
Pieter Wuille
1bbad80bf4
Use separate SignatureChecker for CMutableTransaction
...
Conflicts:
src/main.cpp
src/script/bitcoinconsensus.cpp
Rebased-From: 858809a33e
Github-Pull: #5719
2015-02-03 08:48:04 +01:00
Pieter Wuille
9fddceda44
Avoid storing a reference passed to SignatureChecker constructors
2015-02-02 20:19:46 -08:00
Pieter Wuille
858809a33e
Use separate SignatureChecker for CMutableTransaction
2015-02-02 20:19:12 -08:00
Eric Lombrozo
4401b2d7c5
Removed main.h dependency from rpcserver.cpp
...
Rebased by @laanwj:
- update for RPC methods added since 84d13ee
: setmocktime,
invalidateblock, reconsiderblock. Only the first, setmocktime, required a change,
the other two are thread safe.
2015-01-28 07:41:54 +01:00
Wladimir J. van der Laan
2511a39cca
Merge pull request #5575
...
7b782f5
RPCWallet: Notate all account stuff as deprecated (Luke Dashjr)
2015-01-26 12:38:22 +01:00
vertoe
e6ce27defd
Update copyright year 2015
2015-01-15 11:31:35 +01:00
Wladimir J. van der Laan
729ba31749
Merge pull request #5513
...
856e862
namespace: drop most boost namespaces and a few header cleanups (Cory Fields)
9b1ab86
namespace: drop boost::assign altogether here (Cory Fields)
a324199
namespace: remove boost namespace pollution (Cory Fields)
2015-01-06 20:32:45 +01:00
Wladimir J. van der Laan
4f1524966a
Replace direct use of 0 with SetNull and IsNull
...
Replace x=0 with .SetNull(),
x==0 with IsNull(), x!=0 with !IsNull().
Replace uses of uint256(0) with uint256().
2015-01-05 15:45:34 +01:00
Cory Fields
856e862f4a
namespace: drop most boost namespaces and a few header cleanups
...
A few boost::asio were left around because they're very wordy otherwise.
2015-01-02 15:12:03 -05:00
Cory Fields
a3241998e1
namespace: remove boost namespace pollution
2015-01-02 15:12:03 -05:00
Luke Dashjr
7b782f5b01
RPCWallet: Notate all account stuff as deprecated
2014-12-30 14:46:57 +00:00
sandakersmann
f914f1a746
Added "Core" to copyright headers
...
Github-Pull: #5494
Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-12-19 19:55:32 +01:00
Philip Kaufmann
27df4123c4
make all catch() arguments const
...
- I saw this on http://en.cppreference.com/w/cpp/language/try_catch and
thought it would be a good idea
- also unify used format to better be able to search for exception
uses in our codebase
2014-12-17 09:39:24 +01:00
vertoe
adbd2274e0
Update strings.
2014-12-12 12:44:25 +01:00
Pavel Janík
44b4c0d8a9
signrawtransaction: validate private key.
...
Github-Pull: #5461
Rebased-From: aa768f1848
2014-12-12 11:56:28 +01:00
Pavel Janík
aa768f1848
signrawtransaction: validate private key.
2014-12-11 16:06:23 +01:00