Re: [bitcoin-dev] Compressed Bitcoin Transactions

2024-01-23 Thread Tom Briar via bitcoin-dev
Hi Jonas, As it turns out, most of our size savings come from eliminating unneeded hashes and public keys, which get recovered on decompression. gzip actually expands transactions due to the way it attempts to compress pseudorandom data, my numbers show a legacy transaction of 222 bytes being

Re: [bitcoin-dev] Compressed Bitcoin Transactions

2024-01-16 Thread Tom Briar via bitcoin-dev
Hi, In addition to the use cases listed in the schema, such as steganography, satellite, and radio broadcast, an application can be made for Peer-to-peer communication between Bitcoin nodes. Except when compressing the Txid/Vout, which is optional, Transactions can gain up to 30% size savings

Re: [bitcoin-dev] Compressed Bitcoin Transactions

2024-01-11 Thread Tom Briar via bitcoin-dev
Hi, After reviewing all the feedback and writing a reference implementation, I have linked the updated schema and a Draft PR for a reference Implementation to Bitcoin Core. Some of the major changes consist of: Removing the grinding of the nLocktime in favor of a relative block height,

Re: [bitcoin-dev] Compressed Bitcoin Transactions

2024-01-05 Thread Tom Briar via bitcoin-dev
4022000d1c81efcf6d20d87253749bcef8bf1be7ba51ccdf7a3b328174ea874226c3c02202d810c20f92d49c821eaa6e3a9ec7d764e0e71006e572d6ea96b631bd921767c0121037833d05665f3b21c479583ee12c6c573d1f25977dedfae12c70c18ec9dd46187006b10142cffb29e9d83f63a77a428be41f96bd9b6ccc9889e4ec74927058b41dd8827dd00ac641dc0f399e62a6ed6300aba1ec5fa4b3aeedf1717901e0d49d980efd2a01f On Tuesday, September 5th, 2023 at 2:30 PM, Tom Briar via bitcoin-dev wrote: > Hi Peter, > > Currently, if we’re given a lock time th

Re: [bitcoin-dev] Compressed Bitcoin Transactions

2023-09-05 Thread Tom Briar via bitcoin-dev
Hi Peter, Currently, if we’re given a lock time that is non zero, we drop the 16 most significant bits and grind through until we have a valid signature. Therefore I am hesitant to add more fields to grind through, because it can get out of hand in decompression time really quickly. That said

Re: [bitcoin-dev] Compressed Bitcoin Transactions

2023-09-01 Thread Tom Briar via bitcoin-dev
Hi Jonas, I’m working to get numbers based on both historical data and from fuzz tests but I’m in the middle of updating the code to match the doc, I should have it finished before the end of the week. We estimate that 100 blocks is safe from reorg, that is the same policyfor spending coin

Re: [bitcoin-dev] Compressed Bitcoin Transactions

2023-09-01 Thread Tom Briar via bitcoin-dev
ut this would make the >> scheme compatible with pruning. I had this on my list as a future research >> topic but didn't get around to it yet. >> >> Thanks, >> Fabian >> --- Original Message --- >> On Thursday, August 31st, 2023 at 11:30 PM, Tom Briar vi

[bitcoin-dev] Compressed Bitcoin Transactions

2023-08-31 Thread Tom Briar via bitcoin-dev
Hey everyone, I've been working on a way to compress bitcoin transactions for transmission throughsteganography, satellite broadcasting, and other low bandwidth channels with high CPU availability on decompression.