Skip to content

Resolver Height (get by spent script)#15

Merged
dr-orlovsky merged 1 commit intoRGB-WG:masterfrom
oacdutra:feat/resolve-height
May 17, 2023
Merged

Resolver Height (get by spent script)#15
dr-orlovsky merged 1 commit intoRGB-WG:masterfrom
oacdutra:feat/resolve-height

Conversation

@oacdutra
Copy link
Member

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

@oacdutra oacdutra 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!

@oacdutra oacdutra 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?

@oacdutra
Copy link
Member Author

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.

@oacdutra oacdutra 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
@oacdutra oacdutra 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.

2 participants