Commit Graph

3762 Commits

Author SHA1 Message Date
Janus
c3bf4673ee lightning: scalarmult result is just a hash, not pubkey 2018-03-15 12:56:09 +01:00
Janus
c2618ecae2 lightning: either KeyDesc has KeyLocator, or it has PubKey, no need to handle both simultaneously 2018-03-15 12:19:49 +01:00
Janus
63aa8bd89e lightning: in lnd sources, idx/fam==0 means no derivation 2018-03-15 12:05:39 +01:00
Janus
251e5d0fd2 lightning: in derivePrivKey, only do not HD derive if there is a pubkey 2018-03-15 11:50:53 +01:00
Janus
3bc81164a1 lightning: fetchPrivKey should also be able to not HD derive with None path arguments 2018-03-15 11:32:24 +01:00
Janus
33318b12e0 lightning: zero keylocator means no fancy derivation, pass keydesc argument correctly 2018-03-15 01:20:56 +01:00
Janus
40005dc00d lightning: use derivePrivKey in signOutputRaw 2018-03-15 01:13:11 +01:00
Janus
b017301f84 lightning: another case of moving of pubkey to signdesc's keydesc 2018-03-15 01:01:35 +01:00
Janus
2ade42f356 lightning: fix pubkey from signdesc in SignOutputRaw 2018-03-15 00:52:04 +01:00
Janus
bba986c608 lightning: deserialize_privkey does not return int as in tuple idx 1 2018-03-14 18:50:01 +01:00
Janus
cf0cf4e585 lightning: ComputeInputScript: signDesc has keyDesc now, no raw pubKey 2018-03-14 18:44:06 +01:00
Janus
8f67179497 lightning: centralized key search 2018-03-14 18:34:12 +01:00
Janus
8f529047d4 lightning: DerivePrivKey tries keys that were previously generated by DeriveNextKey 2018-03-14 17:42:34 +01:00
Janus
721cb1ad0b lightning: pass trace to client 2018-03-14 17:03:09 +01:00
Janus
567fba0edb lightning: hex to bytes 2018-03-14 16:23:34 +01:00
Janus
abc797828c lightning: use EC_KEY.get_public_key to get compressed key 2018-03-14 16:12:06 +01:00
Janus
10b5e825e0 lightning: avoid secret_multiplier, just use secret 2018-03-14 15:55:15 +01:00
Janus
eaf51d59c3 lightning: use EC_KEY because it has better sign interface, add convenience method for 32-byte pubkey 2018-03-14 14:41:44 +01:00
Janus
f434617084 lightning: use SigningKey instead of EC_KEY 2018-03-14 14:28:03 +01:00
Janus
9df0840e8f lightning: take get 33-byte pubkey through EC_KEY.privkey.get_verifying_key().to_string() 2018-03-14 14:16:39 +01:00
Janus
8041ec484f lightning: fix DeriveKey pubkey 2018-03-14 12:24:10 +01:00
Janus
75a0a725c4 lightning: ScalarMult: use 32-byte hash to construct priv-key and derive 33-byte pubkey 2018-03-14 10:00:15 +01:00
Janus
4f169886f8 lightning: big-endian privkey encoding in DeriveNextKey 2018-03-13 17:08:36 +01:00
Janus
ff6d1049d0 lightning: correct capitalization 2018-03-13 15:31:38 +01:00
Janus
44ddac371f lightning: fix handling of secret_multiplier 2018-03-13 15:18:53 +01:00
Janus
8624552268 lightning: use decoded object properties 2018-03-13 14:48:40 +01:00
Janus
e718fb0834 lightning: attempt implementing SecretKeyRing 2018-03-09 21:30:43 +01:00
Janus
13cf439dd2 lightning: actual SecretKeyRing stubs 2018-03-08 17:54:15 +01:00
Janus
f4a54881f9 lightning: adapt to new deterministic lnd key interface (only stub) 2018-03-08 17:34:59 +01:00
Janus
9460ef5cac lightning: kivy: channel list prototype 2018-03-07 12:54:11 +01:00
Janus
1694bf3d56 lightning: kivy lightning send invoice ui 2018-03-05 13:43:48 +01:00
Janus
4635d37acf lightning: remove generated files 2018-03-03 19:07:23 +01:00
Janus
32940fdea8 lightning: minimal qt invoice gui should work 2018-03-03 16:00:57 +01:00
Janus
5a9a624857 lightning: fix newline count 2018-03-01 16:22:30 +01:00
Janus
ac52c40857 lightning: send newlines after messages 2018-03-01 16:17:57 +01:00
Janus
a396df4f5d lightning: print invoice updates 2018-03-01 12:26:34 +01:00
Janus
559d12e3a3 lightning: polish timeouts on 1080 conn 2018-02-21 15:29:31 +01:00
Janus
f219af81be asyncio: try CA signed certificate first, previous behaviour totally broken 2018-02-21 11:32:49 +01:00
Janus
eed40a9a41 lightning: ten minute timeout 2018-02-21 00:28:58 +01:00
Janus
71153fd087 lightning: writeDb stub instead of setHdSeed 2018-02-19 16:35:34 +01:00
Janus
3ab42b3606 lightning: call coroutines on callback queue correctly 2018-02-15 12:18:01 +01:00
Janus
91083c5f68 lightning: add send_async, asynchronous_get, broadcast_async 2018-02-15 10:09:18 +01:00
Janus
0e29b76231 lightning: fix lightning arguments for subcommands, again 2018-02-13 11:48:45 +01:00
Janus
40f8c6152e lightning: fix lightning subcommand arguments 2018-02-13 11:45:07 +01:00
Janus
1cbb750e02 lightning: enable arbitrary arguments through json (over stdin) 2018-02-13 11:15:28 +01:00
Janus
3f069fb25f asyncio: fix boolean expression for stopping 2018-02-12 16:16:17 +01:00
Janus
b427f55caf asyncio: use is_running of interface instead of global stop flag 2018-02-12 16:02:35 +01:00
Janus
6154e93222 lightning: 30 sec command timeout 2018-02-12 14:53:31 +01:00
Janus
53bc89fb96 lightning: complain on encrypted wallet 2018-02-09 14:18:24 +01:00
Janus
21e3e87419 lightning: timeout cli lightning calls in 10 sec 2018-02-06 17:23:00 +01:00