Derrick Hammer
|
02412ba934
|
refactor: change update event to just pass currently processed event and the total number
|
2023-07-23 10:17:08 -04:00 |
Derrick Hammer
|
432d4937a1
|
Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
# npm-shrinkwrap.json
|
2023-07-23 10:06:39 -04:00 |
Derrick Hammer
|
232af830c9
|
feat: use event emitter and emit "update" on every light client update processed
|
2023-07-23 10:06:18 -04:00 |
semantic-release-bot
|
f5680f6230
|
chore(release): 0.1.0-develop.42 [skip ci]
# [0.1.0-develop.42](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.41...v0.1.0-develop.42) (2023-07-15)
|
2023-07-15 04:22:33 +00:00 |
Derrick Hammer
|
5197131b77
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-15 00:21:30 -04:00 |
Derrick Hammer
|
11367b9803
|
refactor: add block cron to node client, but ensure it only runs on boot
|
2023-07-15 00:21:24 -04:00 |
Derrick Hammer
|
fbfb9c1e06
|
refactor: remove block check from isSynced
|
2023-07-15 00:18:15 -04:00 |
semantic-release-bot
|
f44be464c2
|
chore(release): 0.1.0-develop.41 [skip ci]
# [0.1.0-develop.41](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.40...v0.1.0-develop.41) (2023-07-14)
### Features
* add loggerInfo and loggerErr callbacks to client options ([a901ee7 ](a901ee76f4 ))
|
2023-07-14 15:19:05 +00:00 |
Derrick Hammer
|
e49de4e907
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-14 11:18:12 -04:00 |
Derrick Hammer
|
45b3e884f9
|
fix; add syncDelay to client factory
|
2023-07-14 11:18:05 -04:00 |
Derrick Hammer
|
a901ee76f4
|
feat: add loggerInfo and loggerErr callbacks to client options
|
2023-07-14 11:16:38 -04:00 |
semantic-release-bot
|
1895495520
|
chore(release): 0.1.0-develop.40 [skip ci]
# [0.1.0-develop.40](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.39...v0.1.0-develop.40) (2023-07-14)
### Bug Fixes
* add a sync delay option so that the bls verification does not hog cpu ([824dcd9 ](824dcd9633 ))
|
2023-07-14 13:23:17 +00:00 |
Derrick Hammer
|
8582db4eb3
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-14 09:22:09 -04:00 |
Derrick Hammer
|
824dcd9633
|
fix: add a sync delay option so that the bls verification does not hog cpu
|
2023-07-14 09:21:52 -04:00 |
semantic-release-bot
|
b1c33bb81d
|
chore(release): 0.1.0-develop.39 [skip ci]
# [0.1.0-develop.39](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.38...v0.1.0-develop.39) (2023-07-13)
### Bug Fixes
* compare code against codehash ([dc4c6b3 ](dc4c6b3f36 ))
|
2023-07-13 17:18:26 +00:00 |
Derrick Hammer
|
8aa7c11f09
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 13:17:33 -04:00 |
Derrick Hammer
|
dc4c6b3f36
|
fix: compare code against codehash
|
2023-07-13 13:17:27 -04:00 |
semantic-release-bot
|
1b0bf2944c
|
chore(release): 0.1.0-develop.38 [skip ci]
# [0.1.0-develop.38](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.37...v0.1.0-develop.38) (2023-07-13)
### Bug Fixes
* add map to return data property ([3e27281 ](3e27281a35 ))
|
2023-07-13 16:52:34 +00:00 |
Derrick Hammer
|
39b1dac32a
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 12:51:39 -04:00 |
Derrick Hammer
|
3e27281a35
|
fix: add map to return data property
|
2023-07-13 12:51:34 -04:00 |
semantic-release-bot
|
42d167d575
|
chore(release): 0.1.0-develop.37 [skip ci]
# [0.1.0-develop.37](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.36...v0.1.0-develop.37) (2023-07-13)
### Bug Fixes
* parse from u, not u.data ([8677bc1 ](8677bc1294 ))
|
2023-07-13 16:46:48 +00:00 |
Derrick Hammer
|
5e426327ff
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 12:45:53 -04:00 |
Derrick Hammer
|
8677bc1294
|
fix: parse from u, not u.data
|
2023-07-13 12:45:49 -04:00 |
semantic-release-bot
|
f76fc9b9e8
|
chore(release): 0.1.0-develop.36 [skip ci]
# [0.1.0-develop.36](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.35...v0.1.0-develop.36) (2023-07-13)
### Bug Fixes
* need to use concat not push ([b87017e ](b87017eb67 ))
* Revert "fix: create fixSerializedUint8Array helper method to deal with weird quirk of ssz serialize" ([6ef18db ](6ef18dbc05 ))
* temporarily disable block hash check as it is bugged ([91144cb ](91144cb5a2 ))
* use byteArrayEquals ([157811b ](157811b234 ))
|
2023-07-13 16:27:45 +00:00 |
Derrick Hammer
|
91144cb5a2
|
fix: temporarily disable block hash check as it is bugged
|
2023-07-13 12:26:41 -04:00 |
Derrick Hammer
|
157811b234
|
fix: use byteArrayEquals
|
2023-07-13 12:25:21 -04:00 |
Derrick Hammer
|
b87017eb67
|
fix: need to use concat not push
|
2023-07-13 12:23:33 -04:00 |
Derrick Hammer
|
6ef18dbc05
|
fix: Revert "fix: create fixSerializedUint8Array helper method to deal with weird quirk of ssz serialize"
This reverts commit d8430b4a11 .
|
2023-07-13 10:40:25 -04:00 |
semantic-release-bot
|
20b6d56c23
|
chore(release): 0.1.0-develop.35 [skip ci]
# [0.1.0-develop.35](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.34...v0.1.0-develop.35) (2023-07-13)
### Bug Fixes
* need to disable useClones in node cache ([07845bf ](07845bf4d0 ))
|
2023-07-13 12:28:06 +00:00 |
Derrick Hammer
|
2540970887
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 08:27:05 -04:00 |
Derrick Hammer
|
07845bf4d0
|
fix: need to disable useClones in node cache
|
2023-07-13 08:26:58 -04:00 |
semantic-release-bot
|
5f5c665aed
|
chore(release): 0.1.0-develop.34 [skip ci]
# [0.1.0-develop.34](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.33...v0.1.0-develop.34) (2023-07-13)
### Bug Fixes
* create fixSerializedUint8Array helper method to deal with weird quirk of ssz serialize ([d8430b4 ](d8430b4a11 ))
|
2023-07-13 12:09:59 +00:00 |
Derrick Hammer
|
cbc652ccb1
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 08:09:06 -04:00 |
Derrick Hammer
|
d8430b4a11
|
fix: create fixSerializedUint8Array helper method to deal with weird quirk of ssz serialize
|
2023-07-13 08:09:00 -04:00 |
semantic-release-bot
|
3bf72603bb
|
chore(release): 0.1.0-develop.33 [skip ci]
# [0.1.0-develop.33](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.32...v0.1.0-develop.33) (2023-07-13)
|
2023-07-13 11:12:58 +00:00 |
Derrick Hammer
|
75ed669eb7
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 07:11:55 -04:00 |
Derrick Hammer
|
cfa1462505
|
refactor: handle case where returned items are less than the total requested and loop until we have them all
|
2023-07-13 07:10:48 -04:00 |
semantic-release-bot
|
d1a133d859
|
chore(release): 0.1.0-develop.32 [skip ci]
# [0.1.0-develop.32](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.31...v0.1.0-develop.32) (2023-07-13)
### Features
* add getCurrentBlock and getLastBlock methods ([661e146 ](661e146636 ))
|
2023-07-13 08:36:38 +00:00 |
Derrick Hammer
|
6eaf874e44
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 04:35:37 -04:00 |
Derrick Hammer
|
e567d5017d
|
refactor: call getLatestExecution in sync and add an arg to getLatestExecution to skip syncing
|
2023-07-13 04:35:29 -04:00 |
Derrick Hammer
|
f68688ab61
|
refactor: have isSynced check the period and the block
|
2023-07-13 04:32:18 -04:00 |
Derrick Hammer
|
661e146636
|
feat: add getCurrentBlock and getLastBlock methods
|
2023-07-13 04:31:55 -04:00 |
semantic-release-bot
|
253a677695
|
chore(release): 0.1.0-develop.31 [skip ci]
# [0.1.0-develop.31](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.30...v0.1.0-develop.31) (2023-07-13)
|
2023-07-13 08:06:29 +00:00 |
Derrick Hammer
|
256f29b692
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 04:05:38 -04:00 |
Derrick Hammer
|
93ab07c5c3
|
refactor: make getLatestExecution public
|
2023-07-13 04:05:34 -04:00 |
semantic-release-bot
|
f767ed6bb4
|
chore(release): 0.1.0-develop.30 [skip ci]
# [0.1.0-develop.30](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.29...v0.1.0-develop.30) (2023-07-13)
|
2023-07-13 08:02:04 +00:00 |
Derrick Hammer
|
2281fa8f35
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 04:00:48 -04:00 |
Derrick Hammer
|
391a4f968a
|
refactor: if we have a _latestOptimisticUpdate, check the estimated current block against the block we have, and return it as cached data if we don't need to fetch again. Also use a mutex to prevent race conditions
|
2023-07-13 04:00:42 -04:00 |
Derrick Hammer
|
36f9f4c910
|
tidy: unneeded var
|
2023-07-13 03:47:44 -04:00 |
Derrick Hammer
|
c5a2dc86e1
|
refactor: don't run automatic optimistic updates
|
2023-07-13 03:35:33 -04:00 |