Skip to content

Support working with custom blocks and transactions #7

@fungibit

Description

@fungibit

It can be useful for users to use our iterators with their own "entity" types (block, tx, txinput, txoutput).

The simple approach, using our entities and converting at each iteration, can be slow and inellegant.

Should somehow let the user "plug in" her own entity types, and make the iterators work with them.

Should document the minimal requirements the custom types should satisfy (e.g. must have a rawsize, block_hash, txid attributes).

Also add an example to the examples page.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions