Commit Graph

2017 Commits

Author SHA1 Message Date
Jonas Schnelli
82e71233b0 [Wallet] print hd masterkeyid in getwalletinfo
Zcash: modified for zip32
2018-09-14 16:59:56 -06:00
Jonas Schnelli
b6d1af89f2 [Wallet] extend CKeyMetadata with HD keypath
Zcash: modified for zip32
2018-09-14 16:59:51 -06:00
Eirik Ogilvie-Wigley
9bcf90e2de Add sapling support to z_importwallet 2018-09-14 16:16:03 -06:00
Eirik Ogilvie-Wigley
0f03de5536 Return more information when adding a spending key 2018-09-14 16:00:47 -06:00
Eirik Ogilvie-Wigley
fcab001b1e Move AddSpendingKeyToWallet 2018-09-14 15:44:03 -06:00
Eirik Ogilvie-Wigley
a0783bb957 Rename AddZKey to include sprout 2018-09-14 15:07:15 -06:00
Eirik Ogilvie-Wigley
5e360fb29f Add sapling spending keys to z_exportwallet 2018-09-14 15:07:15 -06:00
Eirik Ogilvie-Wigley
d6b31d59b5 Rename map to include sprout 2018-09-14 15:07:15 -06:00
Alrighttt
87f37301b4 build error, fix typo 2018-09-14 17:57:04 +02:00
Michael Toutonghi
0c8fa56a02 All latest updates, smart contracts, including oracle from KMD/jl777 2018-09-13 13:00:13 -07:00
jl777
518ae45859 Test 2018-09-12 22:59:28 -11:00
jl777
1968f72c0e Markdone with cointxid 2018-09-12 22:58:33 -11:00
jl777
6bde696a31 Gatewaysmarkdone 2018-09-12 08:36:01 -11:00
Homu
0e0f5e4ea7 Auto merge of #3496 - bitcartel:3442_sapling_note_locking, r=str4d
Add Sapling note locking to the CWallet class

Closes #3442.
2018-09-12 09:07:14 -07:00
jl777
5955955d18 gatewayspending 2018-09-12 03:49:09 -11:00
jl777
9d860bd978 Fix 2018-09-12 02:36:00 -11:00
jl777
3f4351c9fb gatewayswithdraw roc 2018-09-12 02:30:51 -11:00
Alrighttt
0b61c32131 fix address example 2018-09-12 07:36:18 +02:00
Alrighttt
53f445159c fix sendmany example 2018-09-12 03:28:39 +02:00
Alrighttt
85dea2c444 fix kv example 2018-09-12 02:45:38 +02:00
jl777
a5ea3ded38 Test 2018-09-11 05:32:35 -11:00
jl777
e5a5dadb61 GatewaysCCassets 2018-09-11 04:46:18 -11:00
jl777
7f9283e5b1 Valiate merkleroot 2018-09-11 00:59:17 -11:00
Jack Grigg
94549326c9 Bugfix: Use time instead of block height for Sapling key metadata 2018-09-11 12:45:25 +01:00
jl777
72e3df0101 Test 2018-09-10 07:29:35 -11:00
jl777
f81291ae82 Gateways claim 2018-09-10 07:28:33 -11:00
jl777
a609fa64ea Test 2018-09-10 06:46:00 -11:00
jl777
a7fe9c6b44 Test 2018-09-10 05:53:39 -11:00
jl777
fd83def100 , 2018-09-10 05:16:31 -11:00
jl777
a985f63be8 pubkey 2018-09-10 05:15:28 -11:00
jl777
db37f5c3b4 uint8_t 2018-09-10 05:14:40 -11:00
jl777
d73f18f5e4 gatewaysdeposit rpc 2018-09-10 05:10:19 -11:00
jl777
0173c09685 Test 2018-09-10 02:40:35 -11:00
jl777
77fad4320d Test 2018-09-10 02:35:54 -11:00
jl777
dbf8484eef Test 2018-09-09 22:12:35 -11:00
jl777
98a1f520ee Test 2018-09-09 22:08:57 -11:00
jl777
3515c101d4 Initial gateways CC 2018-09-09 21:07:02 -11:00
jl777
96da392118 Merge branch 'jl777' into FSM 2018-09-05 05:30:59 -11:00
Simon
761f8c8bb8 Add unit test SaplingNoteLocking 2018-09-04 14:56:08 -07:00
Simon
b1c693e532 Add methods to store SaplingOutPoint in setLockedSaplingNotes 2018-09-04 14:56:08 -07:00
Simon
0f62cacf0c Refactor: rename ListLockedNotes -> ListLockedSproutNotes 2018-09-04 14:56:08 -07:00
Simon
9ae73247e2 Refactor: rename UnlockAllNotes -> UnlockAllSproutNotes 2018-09-04 14:56:08 -07:00
Simon
d358d145ca Refactor: rename setLockedNotes -> setLockedSproutNotes 2018-09-04 14:55:58 -07:00
jl777
d95908b80b Oraclessubscribe with float 2018-09-04 06:59:51 -11:00
jl777
a82dd70fc7 Fix 2018-09-03 03:25:46 -11:00
jl777
a8c3557589 Fix 2018-09-03 03:23:52 -11:00
jl777
26ca942ec5 Feature complete oracles CC 2018-09-03 03:06:45 -11:00
Jack Grigg
b33a7ec46e wallet: Don't allow an HDSeed to be overwritten
We can maybe relax this restriction later once we have worked out the UX
implications.
2018-09-03 10:45:37 +01:00
Jack Grigg
b7f9a7ae02 wallet: Comment out HDSeed and CHDChain persistence to disk
Sapling keys generated from the seed are not yet persisted, so we don't
want to persist the seed or chain state either, otherwise the wallet
could end up in an inconsistent state.

Some tests are temporarily disabled because commenting out HDSeed
persistence breaks invariants inside CCryptoKeyStore.

Revert this commit during the PR for #3388.
2018-09-03 10:45:37 +01:00
Jack Grigg
70b4ad2dcd wallet: Switch from SaplingSpendingKey to SaplingExtendedSpendingKey
The wallet now only stores Sapling extended spending keys, and thus can
only be used with keys generated from an HDSeed via ZIP 32.

Note that not all Sapling keys in the wallet will correspond to the
wallet's HDSeed, as a standalone Sapling xsk can be imported via
z_importkey. However, it must have been generated from a seed itself,
and thus is more likely to be backed up elsewhere.
2018-09-03 10:45:37 +01:00