Commit Graph

2252 Commits

Author SHA1 Message Date
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
Jack Grigg
a4ac4fc3f4 wallet: Store Sapling key metadata indexed by ivk
Closes #3426.
2018-09-03 10:45:37 +01:00
Jack Grigg
e2416930ea wallet: Store HDSeed and chain data 2018-09-03 10:45:37 +01:00
Jack Grigg
ec653523ad Store HDSeed in CCryptoKeyStore 2018-09-03 10:45:33 +01:00
Jack Grigg
7c02acc5b6 Minor cleanups 2018-09-03 01:28:31 +01:00
Jack Grigg
1ec06e93b1 Rename z_inputs_ to z_sprout_inputs_ 2018-09-03 01:13:18 +01:00
jl777
3d6ee3e028 Test 2018-09-02 04:36:44 -11:00
jl777
366625ca23 Initial oracles CC without validation 2018-09-02 03:40:52 -11:00
jl777
9a44d9ea32 Merge branch 'jl777' into FSM
# Conflicts:
#	src/cc/rewards.cpp
#	src/main.cpp
2018-08-31 22:07:10 -11:00
jl777
2b349eff8c Fix 2018-08-31 01:37:27 -11:00
jl777
3737d4569a Fix 2018-08-31 01:36:48 -11:00
jl777
02da4225f4 Payment/collect for channels 2018-08-31 01:27:23 -11:00
Anton Lysakov
bad5d1c3bd Validate plan name for Rewards CC 2018-08-31 17:00:27 +07:00
Jonathan "Duke" Leto
fde85d291f Add some helpful error messages for when Diceinit fails 2018-08-30 10:56:06 +02:00
Jack Grigg
07d85a6455 Define additional booleans for readability 2018-08-30 09:42:21 +01:00
jl777
54690bb04e Channelsinfo stub 2018-08-29 01:17:57 -11:00