Skip to content
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

Resolver Height (get by spent script) #15

Merged
merged 1 commit into from
May 17, 2023

Conversation

crisdut
Copy link
Member

@crisdut crisdut commented May 16, 2023

This PR intend implement the ResolverHeight with combination of two electrum methods: get_transaction and batch_script_get_history.

@crisdut crisdut force-pushed the feat/resolve-height branch from 42803a6 to aebfe81 Compare May 16, 2023 04:27
Copy link
Member

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK aebfe81

That is clever! Have been looking to solve electrum inability to provide tx height for long time, and never had this idea!

@crisdut crisdut force-pushed the feat/resolve-height branch from aebfe81 to d75f40a Compare May 16, 2023 14:13
Copy link
Member

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you pls provide than a impl From<electrum_client::Error> for Error not to duplicate the code and avoid such errors?

@crisdut
Copy link
Member Author

crisdut commented May 17, 2023

Can you pls provide than a impl From<electrum_client::Error> for Error not to duplicate the code and avoid such errors?

I think is not possible, because we use external information to construct the error message.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@crisdut crisdut force-pushed the feat/resolve-height branch from d75f40a to 35079ef Compare May 17, 2023 04:46
Copy link
Member

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 35079ef

@dr-orlovsky dr-orlovsky merged commit 7046fc6 into RGB-WG:master May 17, 2023
@crisdut crisdut deleted the feat/resolve-height branch June 23, 2023 16:45
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.

None yet

2 participants