This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ethereum: Re-work matching transaction logic
Currently the logic for matching transactions is super generic. We would like an API that accepts only what is needed to match a transaction and returns what we need from the matched transaction. From the COMIT protocol level i.e., rfc003 this is a 'per action' API i.e., funded/deployed/redeem/refunded. Pleas note; this patch removes all the integration and unit tests, these will be added back in in coming patches. The API is now matching_create_contract_transaction(...) -> Result<Transaction> matching_events_transaction(...) -> Result<Transaction, TranscationReceipt> All the matching logic is contained within the `btsieve/ethereum` module.
- Loading branch information
Tobin C. Harding
committed
Feb 19, 2020
1 parent
b3bb2b7
commit be1d47f
Showing
11 changed files
with
276 additions
and
1,458 deletions.
There are no files selected for viewing
This file contains 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.