-
Notifications
You must be signed in to change notification settings - Fork 2
API Overhaul #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
API Overhaul #108
Changes from all commits
Commits
Show all changes
199 commits
Select commit
Hold shift + click to select a range
ad163eb
init test
LeoPatOZ 3844e13
refactor reorg test
LeoPatOZ f824f74
add more basic block scanner test
LeoPatOZ 42a0a40
update test
LeoPatOZ 768bf8e
Merge branch 'main' into requirement-tests
LeoPatOZ 8e41902
update naming
LeoPatOZ be28102
update
LeoPatOZ c7efa8d
format
LeoPatOZ d474f9d
Merge branch 'main' into requirement-tests
LeoPatOZ 87c3916
update tests for range inclusive
LeoPatOZ 9f23779
rename
LeoPatOZ da8a308
better logging
LeoPatOZ 0fa7850
refactor to have seperatation in modes
LeoPatOZ 2b7eafd
unify live and historical
LeoPatOZ f17042a
comments explaining
LeoPatOZ 1f0e5ab
better cuttoff tests
LeoPatOZ e81d6c6
update comment
LeoPatOZ ac45a6f
fmt
LeoPatOZ 54a8a4a
fmt
LeoPatOZ 82931b9
Merge branch 'refactor-block-range-scanner' into reorg-live-mode
LeoPatOZ f62d79f
update to use saturating add
LeoPatOZ aec2a11
reorg detection start
LeoPatOZ 5d488c0
Merge branch 'refactor-block-range-scanner' into reorg-live-mode
LeoPatOZ f8a8037
update comment about reorg
LeoPatOZ ce8e5c1
replace expects
LeoPatOZ 9be45a6
format
LeoPatOZ 3a547e0
Update src/block_range_scanner.rs
LeoPatOZ de9a07b
add check to historical
LeoPatOZ 33c50fb
move EOF check to sync historical data function
LeoPatOZ 2c4c281
fmt
LeoPatOZ aa98709
refactor to have commands
LeoPatOZ 3649cba
helper function for the subsriber logic
LeoPatOZ cb419ea
Merge branch 'requirement-tests' into refactor-block-range-scanner
LeoPatOZ 6ba0b24
comment
LeoPatOZ dd6cc1e
removed optional block hash and num
LeoPatOZ 0324247
comment about unwrap
LeoPatOZ 218dbc5
send error
LeoPatOZ 22a4d25
update batch end fetching error message
0xNeshi 9fc91e7
refactor + print warning if channel closed when sending error
0xNeshi 2bb4690
updated test cases
LeoPatOZ 07b24e1
Merge branch 'main' into refactor-block-range-scanner
LeoPatOZ 8877d98
format
LeoPatOZ 77a820a
Merge branch 'refactor-block-range-scanner' into reorg-live-mode
LeoPatOZ ced78ce
improve reorg logic
LeoPatOZ 33f89e8
comment out for now
LeoPatOZ 367d5b3
update reorg test
LeoPatOZ 5d003c6
up
LeoPatOZ 352c2bd
Merge branch 'main' into reorg-live-mode
LeoPatOZ 94697c8
checkpoint commit - INCLUDES REORG LOGIC
LeoPatOZ e260c81
update scanner
LeoPatOZ f28fd7f
final checks
LeoPatOZ 9e75d44
format
LeoPatOZ f4b7384
Update tests/live_mode/reorg.rs
LeoPatOZ a1a530d
Update tests/live_mode/reorg.rs
LeoPatOZ 427cb19
Update tests/live_mode/reorg.rs
LeoPatOZ d496f6c
update test
LeoPatOZ 2547f73
Merge branch 'main' into reorg-live-mode
LeoPatOZ 0a9d525
remove callback
LeoPatOZ 58ef2a3
update range
LeoPatOZ 98dd7df
revert change to curr
LeoPatOZ f150bdf
remove print
LeoPatOZ f5bac5b
reorg test
LeoPatOZ b012367
add more tests
LeoPatOZ 3a3e572
format
LeoPatOZ c9de225
ignored rewind depth for now
LeoPatOZ 8af35e8
Merge branch 'main' into reorg-live-mode
LeoPatOZ b7a675e
remove unused import
LeoPatOZ 27da4d8
cleaner reorg logic
LeoPatOZ c7850e2
block confirmation
LeoPatOZ c5e17f1
testing
LeoPatOZ 561455e
merge
LeoPatOZ 63b6504
trying to test
LeoPatOZ 8cfe689
Merge branch 'main' into add-block-confirmations
LeoPatOZ 058eb46
confrimation test
LeoPatOZ cb9ce85
Merge branch 'main' into add-block-confirmations
LeoPatOZ f0a481e
add comment
LeoPatOZ 46f2163
better setup fns
LeoPatOZ cca5f33
fix test
LeoPatOZ f0d02cb
revert
LeoPatOZ 8929f8b
remove print fix roerg
LeoPatOZ a33731c
fix test setup
LeoPatOZ 7886af7
clippy
LeoPatOZ fcc534c
fix assert
LeoPatOZ 658ff93
remove rewind
LeoPatOZ 21cc925
Merge branch 'main' into add-block-confirmations
LeoPatOZ 1f640c4
increase reorg depth..
LeoPatOZ b6ee2de
Merge branch 'main' into add-block-confirmations
LeoPatOZ d164191
start latest from latest confirmed tip
LeoPatOZ 5d14a0b
add test
LeoPatOZ 59a07d3
fix test
LeoPatOZ 111e76f
better comments
LeoPatOZ 3185170
refactor tests
LeoPatOZ a37a942
chore: fix conflicts
0xNeshi d01ea9d
remove config
LeoPatOZ 8b3217c
update naming to stream
LeoPatOZ 5072e58
update comment
LeoPatOZ 088112d
update read me and doc test
LeoPatOZ 47594b7
format
LeoPatOZ c52976b
doc test
LeoPatOZ c75a85b
update Client --> EventScannerClient
LeoPatOZ 231c9d9
rename
LeoPatOZ 057d73d
add back max read
LeoPatOZ 9ee4210
update logic of max blocks reads
LeoPatOZ 61ecdae
added test
LeoPatOZ a5015f1
rename and add max reads to global
LeoPatOZ a1867c5
Merge branch 'main' into remove-config-params
LeoPatOZ b22c42b
fix test
LeoPatOZ e715d1e
up
LeoPatOZ 4e4f0d2
rename back to client
LeoPatOZ de593fa
format
LeoPatOZ 5b35e54
readme
LeoPatOZ b81bc45
Merge branch 'main' into remove-config-params
0xNeshi fa7ca59
trying something
LeoPatOZ 73f8195
add event filter and default
LeoPatOZ 93c22c7
base config
LeoPatOZ ba0199a
move everything
LeoPatOZ d09b9a2
trying to fix sync mode
LeoPatOZ ae39776
wrapper
LeoPatOZ e6b8693
update with dummy scanner
LeoPatOZ e28c381
remove client
LeoPatOZ 06c58eb
repeat for all modes
LeoPatOZ 7402974
fix imports
LeoPatOZ 810afef
remove option confirmation
LeoPatOZ fdd73e3
fix compilation and lint
LeoPatOZ 4440855
remoe old EventScanner
LeoPatOZ 421b585
rename to live
LeoPatOZ b4f5633
fix test and example
LeoPatOZ f852288
rename
LeoPatOZ 77beb97
fix reorg test
LeoPatOZ 5ab0b17
remove event filter from scanner
LeoPatOZ c6941d0
add latest
LeoPatOZ fffd6c8
add test to each scanner
LeoPatOZ d9ac24e
remove nested folder
LeoPatOZ 996d993
move errors to own file
LeoPatOZ d00e7f1
doc
LeoPatOZ c217206
Merge branch 'main' into remove-config-params
LeoPatOZ 3b7d918
update readme
LeoPatOZ 0e00593
format
LeoPatOZ d28c351
client --> scanner
LeoPatOZ 5ca4cd2
use block read limit
LeoPatOZ 4a5a6f9
connect_provider to connect
LeoPatOZ 872a842
foramt
LeoPatOZ e366272
stream to start
LeoPatOZ 6f19dab
client to scanner
LeoPatOZ 5cd7a4f
format
LeoPatOZ 5bba20c
Merge branch 'main' into remove-config-params
LeoPatOZ 69d336c
fix: merge errors
LeoPatOZ 2b7f504
fix: integrate latest into scanner api refactor
LeoPatOZ 972ffd3
chore: remove all client
LeoPatOZ d9c14d6
chore: move impl to different file
LeoPatOZ 7f941c6
chore: rename param
LeoPatOZ 25c3998
Merge branch 'main' into remove-config-params
LeoPatOZ 461b93d
feat: add sync_scanning example
LeoPatOZ 6a51aa2
chore: add comment about solc version and update bytecode
LeoPatOZ 2b5453f
fix: format
LeoPatOZ 9149a7c
chore: rename max read to max block range
LeoPatOZ ea22632
chore: rename to max block range + u64
LeoPatOZ b501e14
chore: drop with_ prefix
LeoPatOZ fd2e78d
ref: rename event_lib to event_scanner
LeoPatOZ 423d17a
ref: remove result in connect
LeoPatOZ 134b9d7
ref: remove result in connect + rename historic config to builder
LeoPatOZ 3d18a16
ref: rename rest of modes + fix result type
LeoPatOZ ee9066d
ref: remove clone
LeoPatOZ 39983cc
ref: remove panic docs
LeoPatOZ 7913717
ref: remove await in sync
LeoPatOZ b83d7a1
ref: remove with_ prefix on filter
LeoPatOZ ee198df
fix: doc test
LeoPatOZ 4cef782
ref: remove task aborting
LeoPatOZ 0dbcdbf
fix: format
LeoPatOZ eda2e18
ref: move message to only file
LeoPatOZ 6c7b169
ref: make event listener only available to crate
LeoPatOZ 1687d99
ref: update comment
LeoPatOZ 5dc0e88
fix: format
LeoPatOZ 4b55342
feat: remove client - make each client handle own calling
LeoPatOZ 77181bd
ref: remove to_live
LeoPatOZ 9c6ed4c
ref: run --> start
LeoPatOZ 5789994
ref: remove base builder
LeoPatOZ 7c66fe0
ref: move consumer to common
LeoPatOZ 2109b1b
feat: add better comments
LeoPatOZ 50517ff
feat: add back comments to scanner start functions
LeoPatOZ f31428c
ref: delete scanner.rs
LeoPatOZ e8c1117
test: better tesing of builder pattern + additional test for streaming
LeoPatOZ fe4e6a4
ref: rename create event stream to subscribe
LeoPatOZ 4cf401b
feat: add must use to new fn
LeoPatOZ c3f33c0
ref: remove comment in builder struct def
LeoPatOZ accf180
ref: better comment for connect methods
LeoPatOZ b37b4bf
fix: format
LeoPatOZ 52ea719
ref: super --> crate
LeoPatOZ 18f1de4
ref: rename test to make it clearer
LeoPatOZ 35d651f
ref: remove clone
LeoPatOZ ddaa921
ref: rename to message
LeoPatOZ 2498939
feat: shared error enum accross both scanners
LeoPatOZ 581f670
fix: doc test
LeoPatOZ f73088c
ref: unexpand
LeoPatOZ a103255
ref: redundant map
LeoPatOZ d548947
ref: remove builder from public API
LeoPatOZ 8c6365c
Merge branch 'main' into remove-config-params
LeoPatOZ 276d0b7
feat: remove leftover with_ prefix
0xNeshi 6d16f55
docs: fix README
0xNeshi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.