Forcenet: an experimental network with a new header format



Summary:

The conversation between Tier Nolan and Johnson Lau revolves around the concept of sum tree and softfork in Bitcoin. The idea is to make the sum tree an independent tree with a separate commitment, which can be used for partial validation and fraud proofs. However, any redefinition requires either a hardfork or a new sum tree, which would create a new tree for every softfork of this type. To fix this, the weight and nSigOp should be explicitly committed, and the committed value must be equal to or larger than the real value to redefine it with a softfork. This would mean that each transaction will have an overhead of 16 bytes. Furthermore, the weight and sigop count could be transmitted as variable length integers, which would be around 2 bytes for the sigops and 3 bytes for the weight per transaction. However, the block format would have to include the raw transaction, "extra"/tree information, and witness data for each transaction. It is suggested that the two costs could be combined into a unified cost, where a sigop could have equal cost to 250 bytes. This would make it easier for miners to decide what to charge. It is also mentioned that CPU cost and storage/network costs are not completely interchangeable. Additionally, the current size weight limit is 4,000,000, and the sigop limit is 80,000. If the size weight and sigOp weight are combined, a block may have millions of sigOps, which is unacceptable. Signature aggregation will make this a bigger problem as one signature may spend thousands of sigOps. Finally, there is a discussion about whether fees, raw tx size, weight, and sigOps need to be summed, and it is suggested that the greater or equal rule would cover them.


Updated on: 2023-05-20T00:15:30.346726+00:00