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

The outputs of txref are different from examples in bip136 #1

Open
KimiWu123 opened this issue Mar 18, 2019 · 0 comments
Open

The outputs of txref are different from examples in bip136 #1

KimiWu123 opened this issue Mar 18, 2019 · 0 comments

Comments

@KimiWu123
Copy link

In bip136, here are examples,
Genesis Coinbase Transaction (Transaction #0 of Block #0): tx1:rqqq-qqqq-qmhu-qhp
Transaction #2205 of Block #466793: tx1:rjk0-uqay-zsrw-hqe

I used your tool to en/decode these txref but I got errors or inconsistent result. Here is my command to encode,

$ ./txref  -e -m 3 -b 466793 -p 2205
// result: encodedTxref: tx1:rjk0-u5ng-4jsf-mc
$ ./txref  -e -m 3 -b 0 -p 0
// result: encodedTxref: tx1:rqqq-qqqq-qmhu-qk

and if I decode

tx1:rjk0-uqay-zsrw-hqe

I got error,

err: Decoded data is not 8 or 10 characters long

Any idea? Thanks.

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

No branches or pull requests

1 participant