Rik on Nostr: I have been hacking on it today, but it seems to me thay the bech32 class in bitwasp ...
I have been hacking on it today, but it seems to me thay the bech32 class in bitwasp does not play nice with tlv. I have no idea why, also the decode function does not allow for bechs longer than 90 chara,but in nostr-tools this limit is raised to 5000. I feel I need to fork and improve the bech32 encoding/decoding functions. What are your thoughts on this?
Published at
2024-11-25 15:39:59Event JSON
{
"id": "5f86f07eaede75421fb126edceed32cf008786e2cc28a430c59089c6afb5c635",
"pubkey": "ca447ffbd98356176bf1a1612676dbf744c2335bb70c1bc9b68b122b20d6eac6",
"created_at": 1732549199,
"kind": 1,
"tags": [
[
"e",
"fcda57b1b3df2297fedc2b7e6dabf13272fad236533f57e4494f546e44746c3a",
"",
"root"
],
[
"p",
"ca447ffbd98356176bf1a1612676dbf744c2335bb70c1bc9b68b122b20d6eac6"
],
[
"p",
"0dc2dcb14d89f94b8a1590e178e9fbcb2ef1cb0be175a283842f9dc54787801a"
],
[
"p",
"d3b2757dc5910d38cc02ea6d51419eb2de74fb109716501d7aa7732635b9f11b"
],
[
"p",
"06639a386c9c1014217622ccbcf40908c4f1a0c33e23f8d6d68f4abf655f8f71"
]
],
"content": "I have been hacking on it today, but it seems to me thay the bech32 class in bitwasp does not play nice with tlv. I have no idea why, also the decode function does not allow for bechs longer than 90 chara,but in nostr-tools this limit is raised to 5000. I feel I need to fork and improve the bech32 encoding/decoding functions. What are your thoughts on this?",
"sig": "4a255f79a9207b18db84ad48c31f808c4e863a6946fd0a13be6cca93915865ad4532bb6c93631dd6e4d002ee64f43df110781483fcecea7f788ad3095b06f41c"
}