Skip to content

trust: tbc-rpc passthrough #43

Description

@ClaytonNorthey92

We are currently working on getting all of tbc's functionality in op-reth, to operate similarly to op-geth.

@max-sanchez (correct me if I am wrong) is working on similar functionality but using oxygen as the bitcoin indexer.

@AL-CT and I are working on getting an tbc rpc passthrough ready.

we currently have the tbc headers-only mode working here in trust:
https://github.com/hemilabs/heminetwork/tree/667212f05ba976922f6915e4c7b9a40b29843f78/crates/trust

@AL-CT is working on getting tbc full node rpc passthrough functionality in

in the meantime, we need to add the calls to op-reth that will call the passthrough functionality

as I create subissues, we will need to:

  • add the call-point
  • mock out the call in the test and verify that op-reth acts accordingly based on the response

at the end, we can swap this out with the tbc rpc backend via something similar to dependency injection.

we can use a similar method to swap out the rpc backend with oxygen when needed

we can worry about conflicts between oxygen and tbc rpc when we get to that point, until then we need one or the other working.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions