Commit Graph

881 Commits

Author SHA1 Message Date
Fang
23b177a3d2 Use ++rev over ++swp, for safety. 2018-06-29 13:08:58 +02:00
Fang
004ac54d28 Clean up base58 en/decoding 2018-06-29 01:11:55 +02:00
Fang
4352293d44 Rename secp point serialization arms 2018-06-29 00:52:42 +02:00
Fang
19144c7610 Add HMAC-SHA1 2018-06-29 00:46:08 +02:00
Fang
a756d69b8f Put +=byts to use 2018-06-29 00:34:07 +02:00
Fang
9aba5593a6 Restructure and complete BIP32 core
It now contains features it was missing, and those have been verified
for correctness. Behaves more like an object now, with initialization
and state change arms, and easy ways to get data out.
2018-06-29 00:12:14 +02:00
Fang
7a02a6c796 Fix bug in RIPEMD-160 implementation. 2018-06-28 20:39:45 +02:00
Fang
125956413d BIP32 key derivation logic.
Messy, in dire need of restructuring.
2018-06-28 00:47:20 +02:00
Fang
d2770cd221 Fix bug in HMAC implementation. 2018-06-27 23:17:03 +02:00
Fang
2d7163876c SHA-1 re-implementation, can account for leading zeroes. 2018-06-27 20:21:16 +02:00
Fang
beae8cc01a Converting points on curve to un/compressed numbers. 2018-06-27 20:20:35 +02:00
Fang
3ac9b33697 RIPEMD-160 implementation. 2018-06-27 01:03:18 +02:00
Fang
f5f9c209d0 Start work on BIP32 support.
Library file includes wrappers for the SHA family to make it take and produce sane byte order data, and a new HMAC implementation that depends on it.
Also includes @belisarius222's secp256k1 implementation, plus experimental (and broken) support for other secp variants.
2018-06-22 20:33:53 +02:00
Fang
5a25e87dec Remove old jael structs from old-zuse. 2018-05-29 22:43:49 +02:00
Fang
e362b4b1c8 Merge in userspace constitution work. 2018-05-14 19:59:34 +02:00
Fang
09e4e813d0 Make sure jael gets processed alongside other vanes. 2018-05-10 01:43:43 +02:00
Curtis Yarvin
07fd6faab9 Merge branch 'master' into research-merge; broken 2018-05-03 10:51:39 -07:00
Fang
1e0326f739 Encode block numbers properly. 2018-05-03 17:16:47 +02:00
Fang
c596ce12a7 Correct DNS domains getter signature. 2018-05-01 01:47:14 +02:00
Fang
856196c877 Fix subscription path range parsing. 2018-04-25 20:54:36 +02:00
C. Guy Yarvin
97d2de4f4e Still some mild spec conversion bugs. 2018-04-22 19:41:24 -07:00
Fang
52222bed73 Typo correction in read request id parsing. 2018-04-18 23:50:32 +02:00
Fang
e5aec54571 Fix hull diff generation and application. 2018-04-18 23:18:17 +02:00
Fang
b10b27e0a7 Move call data generation to lib. 2018-04-18 14:04:18 +02:00
Fang
2f4ce78d4e address > @ux 2018-04-18 01:26:22 +02:00
Fang
219cab4783 Support proxy change events. 2018-04-18 01:25:37 +02:00
Fang
a16d92b43f Hull diff application. 2018-04-18 00:34:26 +02:00
Fang
b78fdccd54 Implement parsing of hull diffs from event logs. 2018-04-18 00:32:02 +02:00
Fang
7e74cd3bb7 Update parsing of event logs to assume up-to-date RPC API spec. 2018-04-18 00:30:25 +02:00
Anton Dyudin
8280e41dd1 Use ++tang instead of ++wall test output 2018-04-17 14:36:42 -07:00
Fang
4ed365a263 Support reading the DNS domains from the Ships contract. 2018-04-17 23:11:59 +02:00
Fang
e857a77c74 Include getFilterLogs operation. 2018-04-17 16:18:13 +02:00
Fang
a8415d38bc Conform to geth node standard. 2018-04-17 15:40:17 +02:00
Fang
821c7e418d Actually include /lib/constitution. 2018-04-13 21:50:22 +02:00
Fang
2dfe11f1eb Merge commit 'bedb0445196beca1f8477868f9ddb7b316a8936f' into constitution 2018-04-13 21:48:22 +02:00
Fang
da1dc7a074 Remove commented out code. 2018-04-12 19:34:58 +02:00
Fang
38fce5986e Disable relative message number in subscription ranges. 2018-04-12 16:47:32 +02:00
Fang
1798d3cbe3
Merge pull request #658 from Fang-/hall-last-x
Get last x messages from hall
2018-04-11 23:56:45 +02:00
Fang
8e9387e8c4 Don't accidentally return the end index in input for dynamic arrays. 2018-04-10 21:34:22 +02:00
Fang
8af91e2af6 More structures for the Ethereum lib. 2018-04-09 16:58:39 +02:00
Fang
dba3abac6b Correctly decode bools. 2018-04-04 21:28:45 +02:00
Fang
99df5ec158 Make Ethereum decoding function a wet gate, producing tuples with type info.
Type information still lost for array members.
2018-04-04 17:15:23 +02:00
Fang
b46315af11 Fix off-by-one when parsing bytes32. 2018-03-22 16:34:15 +01:00
Fang
6fe0a29a55 Support Ethereum filter creation and polling. 2018-03-21 22:58:11 +01:00
Fang
4ef49b878f ++default-block -> ++block 2018-03-21 15:44:18 +01:00
C. Guy Yarvin
3ffa56cbbd Fix previous commit. 2018-03-19 10:43:25 -07:00
C. Guy Yarvin
3afa0876d3 Stop using obsolete $~ syntax. 2018-03-18 21:18:20 -07:00
C. Guy Yarvin
5f7d3922bd End use of legacy $| and $& syntax. 2018-03-18 20:54:47 -07:00
C. Guy Yarvin
79aa1cbc61 Fix $? to use %fits. 2018-03-17 18:06:15 -07:00
Elliot Glaysher
85e6b70d50 Prime the cache during |overload 2018-03-16 15:22:55 -07:00