Simon Liu [ARCHIVE] on Nostr: π
Original date posted:2015-09-04 π Original message:Maybe grab some code from ...
π
Original date posted:2015-09-04
π Original message:Maybe grab some code from BIP101 ? It permits block messages > 2MB,
while retaining the current limit of 2 MB imposed on other network
messages. The 32 MB limit was patched a few months ago.
Links to code:
https://www.reddit.com/r/bitcoinxt/comments/3in5mm/psa_correction_to_btcchina_letter_which_states/On 09/04/2015 12:53 AM, Andy Chase via bitcoin-dev wrote:
> The 32Mb limit is
> here:
https://github.com/bitcoin/bitcoin/blob/master/src/serialize.h#L25>
> It's to keep the message size small enough that messages can be
> serialized in memory.
>
> Jeff if you decide to lift the 32MB limit (you really should, unless
> your plan is to potentially hard force another Blocksize discussion
> again which might be okay). I suggest having the 32MB ceiling auto-raise
> according to a exponential factor (1.5?) starting 1 year from now.
>
> Basically hard limit ceiling 2016-2017: 32 MB
> Hard limit ceiling 2018+: 32*((currentYear-2018)*1.5) MB
>
> The factor could be 2 like BIP-101 but I imagine you will want to be
> more conservative. The delay time could also be longer if you think it
> will take longer to fix the message size issue across all implementations.
>
Published at
2023-06-07 17:39:22Event JSON
{
"id": "f207d38507c6bc7edfd61b35e48a8a0b32aeeacd2f2e464a47bea26cc3185338",
"pubkey": "ec441dce91fdd87933cc9222deff2be2b3ac971939fd1f23aa1f9b61f898f361",
"created_at": 1686159562,
"kind": 1,
"tags": [
[
"e",
"a137c877ff26a7c79ddcf309fc77d8729c3f5cc9c177f8e08369ded48fb80356",
"",
"root"
],
[
"e",
"fa7a7443511810f11e53252527d6b57d5ddf103b9c0306ec9db51036abb8b757",
"",
"reply"
],
[
"p",
"ba04f4d1170f593a978aba85df5755615cf525b48d666a395a387ee1bf42efe3"
]
],
"content": "π
Original date posted:2015-09-04\nπ Original message:Maybe grab some code from BIP101 ? It permits block messages \u003e 2MB,\nwhile retaining the current limit of 2 MB imposed on other network\nmessages. The 32 MB limit was patched a few months ago.\n\nLinks to code:\n\nhttps://www.reddit.com/r/bitcoinxt/comments/3in5mm/psa_correction_to_btcchina_letter_which_states/\n\n\n\nOn 09/04/2015 12:53 AM, Andy Chase via bitcoin-dev wrote:\n\u003e The 32Mb limit is\n\u003e here: https://github.com/bitcoin/bitcoin/blob/master/src/serialize.h#L25\n\u003e \n\u003e It's to keep the message size small enough that messages can be\n\u003e serialized in memory.\n\u003e \n\u003e Jeff if you decide to lift the 32MB limit (you really should, unless\n\u003e your plan is to potentially hard force another Blocksize discussion\n\u003e again which might be okay). I suggest having the 32MB ceiling auto-raise\n\u003e according to a exponential factor (1.5?) starting 1 year from now.\n\u003e \n\u003e Basically hard limit ceiling 2016-2017: 32 MB\n\u003e Hard limit ceiling 2018+: 32*((currentYear-2018)*1.5) MB\n\u003e \n\u003e The factor could be 2 like BIP-101 but I imagine you will want to be\n\u003e more conservative. The delay time could also be longer if you think it\n\u003e will take longer to fix the message size issue across all implementations.\n\u003e",
"sig": "faa20d64b5d45690e9f0e7a394f86fdf5893e6f504f6546c76954e9691491374123c376fb01e97756d38179da46e423f535afcfa79b91fc43763423a081b0827"
}