Commit graph

140 commits

Author SHA1 Message Date
Gregory Sanders
05bc6db085 Consensus: Add asset type to CTxOut and validation 2017-04-02 14:05:25 -04:00
Gregory Sanders
b56e4d0dfa Merge pull request #131 from Christewart/fix_claimpegin_help_msg
Fix claimpegin help msg
2017-02-27 02:30:45 -05:00
Chris Stewart
6002b41865 fixing help message for claimpegin 2017-02-26 20:17:48 -06:00
Jorge Timón
781109a855
f'Add withdraw-manipulation RPCs' Move SendMoney wrapper below function definition 2017-02-24 01:01:27 +01:00
Gregory Sanders
570d3d00e3 Merge pull request #121 from instagibbs/unknownlist
listunspent: don't list outputs with unknown amounts
2017-02-13 21:47:48 -05:00
Gregory Sanders
f28d2d1533 listunspent: don't list outputs with unknown amounts 2017-02-07 11:02:18 -05:00
Gregory Sanders
324cdae046 Make sure we check wallet is available and unlocked for pegging 2017-02-03 15:09:14 -05:00
Gregory Sanders
1d7134881c New address prefix: CTE 2017-02-02 10:59:07 -05:00
Gregory Sanders
2f3c2676b4 Change out of date comment for getpeginaddress 2017-02-02 10:59:07 -05:00
Gregory Sanders
4e8b3a4798 fix getpeginaddress clarification 2017-02-02 10:59:07 -05:00
Eric Martindale
01d7915bb7 Migrate project naming from "Beta" to "Elements"
Note: this also changes the CHAINPARAMS_ELEMENTS constant!  The new
network name is simply `elements`, and similarly regtest is now
`elementsregtest`
2017-02-02 10:59:01 -05:00
Jonas Nick
bb1f44f8a6 QA: Allow setting the fedpeg script with a command line argument
- In both default and regtest modes
- The script is stored
- BaseSignatureChecker is used to pass it to the interpreter

Modified by jtimon
2017-02-02 10:59:00 -05:00
instagibbs
93b07ea584 Harden pegin address generation 2017-02-02 10:58:57 -05:00
instagibbs
934023c7ea Add parent genesis hash to chainparams, simplify checks 2017-02-02 10:58:57 -05:00
instagibbs
0f98b914a0 getpeginaddress clarification and output variable name changes 2017-02-02 10:58:56 -05:00
instagibbs
a90d9534a2 More useful claimpegin errors for malformed arguments 2017-02-02 10:58:56 -05:00
instagibbs
fd9a254c64 Add blindingfactors to listtransactions rpc help 2017-02-02 10:58:56 -05:00
instagibbs
89756b2cf9 More compact and pretty printing of blindingdata in ListTransactions 2017-02-02 10:58:56 -05:00
instagibbs
15275158b8 Add blinding data to be rpc logged 2017-02-02 10:58:55 -05:00
instagibbs
2e0973a4b3 added functions to rpc logging 2017-02-02 10:58:55 -05:00
instagibbs
2a34dbdaa5 Introduce user getter to avoid null pointers 2017-02-02 10:58:55 -05:00
instagibbs
fdcb038e77 Add audit log file 2017-02-02 10:58:55 -05:00
instagibbs
78e8f0c8b3 Don't tally -1 when funds are unknown 2017-02-02 10:58:51 -05:00
instagibbs
5093a5c61c IsStandard rule for withdrawLock dust 2017-02-02 10:58:51 -05:00
instagibbs
60625007f9 Use dummy nonce for pegin, simplify rpcs 2017-02-02 10:58:51 -05:00
instagibbs
8b72b641a0 Remove unneeded CT addresses 2017-02-02 10:58:50 -05:00
Warren Togami
4de4fad468 Cleanup and clarify sendtomainchain help text
* Get rid of needless newline
* Get rid of confusing "deposit" word, talk instead about the target mainchain address.
* No reason for the Cli and Rpc examples to have different addresses.
* Make the examples actually correct with a value.
2017-02-02 10:58:50 -05:00
Warren Togami
76d648b723 Rename RPC getfundingaddress to getpeginaddress for clarity
Improve the help text to better explain what the command does, and how
`getfundingaddress` parallels `getaddress` in necessitating regular backup
of wallet.dat.
2017-02-02 10:58:50 -05:00
Warren Togami
52d9da34b2 Rename RPC claimwithdraw to claimpegin for clarity 2017-02-02 10:58:50 -05:00
Pieter Wuille
f4d7ccde48 Never include unknown amounts in listreceived* 2017-02-02 10:58:50 -05:00
Matt Corallo
c04435d2f0 rotate addresses for new chain again 2017-02-02 10:58:50 -05:00
Matt Corallo
5427f23c17 new chain 2017-02-02 10:58:49 -05:00
Matt Corallo
44cff58a62 Set network parameters 2017-02-02 10:58:49 -05:00
Matt Corallo
40a12f6c68 Change constant keys to shit I found on google
(note script/interpreter must match wallet/rpcwallet)
2017-02-02 10:58:49 -05:00
Matt Corallo
e396106f76 Add withdraw-manipulation RPCs 2017-02-02 10:58:49 -05:00
Matt Corallo
eaf5ab06be Add blinding key import/export RPCs 2017-02-02 10:58:48 -05:00
Pieter Wuille
683dd3cdbe Wallet updates for CT
A few fixes from Jerzy Kozera <jerzy.kozera@gmail.com>
2017-02-02 10:58:48 -05:00
Matt Corallo
49f24bc6e2 Add explicit fee field to transaction 2017-02-02 10:58:48 -05:00
Matt Corallo
c8ac3bf7d7 Add block sign/sig combine/etc RPC functions 2017-02-02 10:58:47 -05:00
Pieter Wuille
4ec21e8a64 Fix ismine and addwitnessaddress: no uncompressed keys in segwit
Github-Pull: #8499
Rebased-From: 248f3a76a8
2016-10-17 14:10:59 +02:00
instagibbs
c6a629100b add witness address to address book
Github-Pull: #8693
Rebased-From: 62ffbbdec3
2016-09-21 02:43:47 +00:00
Jonas Schnelli
f142c11ac6
[0.13] Create a new HD seed after encrypting the wallet 2016-07-27 15:56:57 +02:00
Jonas Schnelli
73adfe3bb9
[Wallet] Correct hdmasterkeyid/masterkeyid name confusion
Github-Pull: #8390
Rebased-From: b50e1ac298
2016-07-25 13:04:45 +02:00
Wladimir J. van der Laan
238300b398
Merge #8323: Add HD keypath to CKeyMetadata, report metadata in validateaddress
7945088 [Wallet] comsetic non-code changes for the HD feature (Jonas Schnelli)
68d7682 [Wallet] ensure CKeyMetadata.hdMasterKeyID will be cleared during SetNull() (Jonas Schnelli)
f708085 [QA] extend wallet-hd test to cover HD metadata (Jonas Schnelli)
986c223 [Wallet] print hd masterkeyid in getwalletinfo (Jonas Schnelli)
b1c7b24 [Wallet] report optional HDKeypath/HDMasterKeyId in validateaddress (Jonas Schnelli)
5b95dd2 [Wallet] extend CKeyMetadata with HD keypath (Jonas Schnelli)
2016-07-18 07:58:33 +02:00
Jonas Schnelli
7945088d41
[Wallet] comsetic non-code changes for the HD feature 2016-07-15 10:34:08 +02:00
Jonas Schnelli
986c223214
[Wallet] print hd masterkeyid in getwalletinfo 2016-07-09 12:12:36 +02:00
MarcoFalke
477777f250 [rpcwallet] Don't use floating point 2016-07-08 12:01:25 +02:00
Alex Morcos
4f7ff00497 [qa] Add rpc test for segwit
Amended by Pieter Wuille to use multisig 1-of-1 for P2WSH tests, and BIP9
based switchover logic.

Fixes and py3 conversion by Marco Falke.
2016-06-22 15:43:01 +02:00
Pieter Wuille
f4691ab3a9 [RPC] Add wallet support for witness transactions (using P2SH)
Includes support for pushkeyhash wit v0 by Alex Morcos.
2016-06-22 15:43:01 +02:00
Pieter Wuille
7030d9eb47 BIP144: Serialization, hashes, relay (sender side)
Contains refactorings by Eric Lombrozo.
Contains fixup by Nicolas Dorier.
Contains cleanup of CInv::GetCommand by Alex Morcos
2016-06-22 15:42:59 +02:00