PSats on Nostr: Sabadete de refactor las monedas a céntimos y satoshis, para almacenarlos en bigint. ...
Sabadete de refactor las monedas a céntimos y satoshis, para almacenarlos en bigint. Que me estaba jugando una mala pasada la precisión al guardar BTC con 8 decimales en real y double.
Published at
2024-09-21 17:02:03Event JSON
{
"id": "f4cdb55e6141a7f5e5d0eab308eb2b1d909f7d837bd2c528cf5f1fd36cd31812",
"pubkey": "08d94aae0452fb98f69b9ab2c3a196e13eedb8183479288a5d7a371cb68c10c9",
"created_at": 1726938123,
"kind": 1,
"tags": [
[
"r",
"https://image.nostr.build/a990dba88a367f05e1d38c661511087cf509f9cabacfac4c9029e8fc45900941.jpg"
],
[
"imeta",
"url https://image.nostr.build/a990dba88a367f05e1d38c661511087cf509f9cabacfac4c9029e8fc45900941.jpg",
"m image/jpeg",
"alt Verifiable file url",
"x 21068cb862f1bede6eee54ec86b3a4efa37cca764560cd95a5328bb06bd02349",
"size 55322",
"dim 1920x464",
"blurhash H6CsgW?H~B9YIqWFVuRlSijGxtkBsAV?WBf6fkbI",
"ox a990dba88a367f05e1d38c661511087cf509f9cabacfac4c9029e8fc45900941"
]
],
"content": "Sabadete de refactor las monedas a céntimos y satoshis, para almacenarlos en bigint. Que me estaba jugando una mala pasada la precisión al guardar BTC con 8 decimales en real y double.\n\nhttps://image.nostr.build/a990dba88a367f05e1d38c661511087cf509f9cabacfac4c9029e8fc45900941.jpg",
"sig": "9bf5ba76eb3bd424ebdc218b3c11aa989d525dda89841b722bfe2596a5171307c70b8281bb0f653d4b4be701ff6494a57b831a1bcbf3ab17670037ad4fbd66cd"
}