Skip to content

Conversation

@jmhrpr
Copy link
Contributor

@jmhrpr jmhrpr commented Aug 29, 2022

Implements a block-focused reducer, which uses a new filter_matches_block! macro that can be used to match blocks for which any of the contained transactions satisfy the given predicates.

For example one may wish to store the block hash and block header of blocks which contain transactions which send funds to or from a particular address, perhaps to see when those transactions occurred using the block height.

Key: block hash
Value: block header in raw CBOR

@jmhrpr jmhrpr requested a review from scarmuega as a code owner August 29, 2022 19:36
@scarmuega scarmuega merged commit db8d2c5 into txpipe:main Aug 30, 2022
@jmhrpr jmhrpr deleted the feat/block-header-by-hash branch August 31, 2022 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants