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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

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.