Jump to content
Sign in to follow this  
DarkClaw

What is the max blocksize?

Recommended Posts

My understanding (from here) is the max blocksize (in bytes) is determined by MAX_BLOCK_WEIGHT/WITNESS_SCALE_FACTOR:

/** The maximum allowed weight for a block, see BIP 141 (network rule) */
static const unsigned int MAX_BLOCK_WEIGHT = 4000000;
// [...]
static const int WITNESS_SCALE_FACTOR = 4;

https://github.com/domob1812/huntercore/blob/master/src/consensus/consensus.h

That would give 1 MB for huntercoin. Is this correct?

Share this post


Link to post
Share on other sites
14 hours ago, DarkClaw said:

My understanding (from here) is the max blocksize (in bytes) is determined by MAX_BLOCK_WEIGHT/WITNESS_SCALE_FACTOR:


/** The maximum allowed weight for a block, see BIP 141 (network rule) */
static const unsigned int MAX_BLOCK_WEIGHT = 4000000;
// [...]
static const int WITNESS_SCALE_FACTOR = 4;

 

That would give 1 MB for huntercoin. Is this correct?

Yes, that is exactly right.

  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

Your use of this site is governed by our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.