Author: Chris Double 2011-09-03 13:52:19
Published on: 2011-09-03T13:52:19+00:00
Upon examining the code in CWallet::CreateTransaction, it was discovered that line 979 contains a call to 'GetSerializeSize' function (link provided: https://github.com/bitcoin/bitcoin/blob/master/src/wallet.cpp#L979). This function checks whether the transaction size exceeds the maximum block size allowed. If the size is greater than the maximum block size, the function returns false. Additionally, there is a code block that calculates the priority of the transaction. The priority is determined by dividing the transaction's priority by its size in bytes.
Updated on: 2023-06-04T18:49:52.697646+00:00