Evan on Nostr: The cards I have can store any low 2^x (64 wasn't a random choice). If the number of ...
The cards I have can store any low 2^x (64 wasn't a random choice).
If the number of sats was written in binary... And if it only needs one ...1. 1,2,4,8,16,32, etc... It seems to use ~246 bytes.
If you need two binary 1's, such as 3, 5, 6, 9 uses just under 400 bytes.
If it needs 3 binary 1's (7, 21) it blows over the 500 byte limit of those cards at ...526 bytes.
The number 256 is fine at 246 bytes, but 255 (which requires 8 binary 1's) needs 1.257 MB.
The 2-to-the-power-of-trick, breaks down at 512 as that now needs over 500 bytes too.
Published at
2024-12-23 02:23:59Event JSON
{
"id": "72f70e83d410e0a346e7f40c1ab594425dd2fa815ed41172b9e487feaa20a89c",
"pubkey": "d030d33c329f56ba7fd6af464f96421a4ffc5298e0ac38e0a24b278c5190e4e1",
"created_at": 1734920639,
"kind": 1,
"tags": [
[
"e",
"214c6b5dca01b284d9ce255f7395799aeae24f6f8289ccc2ab77eda3e8bffee7",
"",
"root"
],
[
"e",
"cb9a75eb43f4c497e5e88a3025348f8ec2e8f8d518cb67aa17bef238d9d4ce01"
],
[
"e",
"0fcf50e3f3b7e1b0b2827995ef8a97f1477036bb538c94d40cd905abd8f78774",
"",
"reply"
],
[
"p",
"d030d33c329f56ba7fd6af464f96421a4ffc5298e0ac38e0a24b278c5190e4e1"
],
[
"p",
"6060bc3c88f5cbe328a828f11890fc390130ab7b5f1d20bb4cbe7f09eb53e04a"
],
[
"p",
"36386237b264102aa0ccb11efc9a0331d0f36eb3fc691c7ec0a97d93ecc7f701"
]
],
"content": "The cards I have can store any low 2^x (64 wasn't a random choice). \n\nIf the number of sats was written in binary... And if it only needs one ...1. 1,2,4,8,16,32, etc... It seems to use ~246 bytes. \n\nIf you need two binary 1's, such as 3, 5, 6, 9 uses just under 400 bytes. \n\nIf it needs 3 binary 1's (7, 21) it blows over the 500 byte limit of those cards at ...526 bytes.\n\nThe number 256 is fine at 246 bytes, but 255 (which requires 8 binary 1's) needs 1.257 MB. \n\nThe 2-to-the-power-of-trick, breaks down at 512 as that now needs over 500 bytes too.\n\n\n",
"sig": "bc3ed7576c9610c956324d37ca58716000c2a154d0cecd2fa8e4a2a0f98caf98918ef8c6137aef44427c2efe83d9091f41b0b59bcf41c6e37c78ed565d8eab5f"
}