Skip to content

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

@KimiWu123

Description

@KimiWu123

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions