Author

Topic: what dose CTxWitness use for? (Read 842 times)

newbie
Activity: 1
Merit: 0
October 09, 2016, 03:58:30 PM
#4
achow101 thanks for your answear. I was looking for it for a long time.
newbie
Activity: 15
Merit: 2
October 08, 2016, 01:18:18 AM
#3
Thank you.

CTxWitness is for segwit. Specifically it is for the witnesses included in the segwit serialization.

and it has a data member:const uint256 hash /** Memory only. */, it means if a transaction in mempool, it has this data member:hash?
or if on disk, it has no data member:hash?
It means that that hash is kept in the memory and not on disk.
staff
Activity: 3458
Merit: 6793
Just writing some code
October 07, 2016, 10:49:42 PM
#2
CTxWitness is for segwit. Specifically it is for the witnesses included in the segwit serialization.

and it has a data member:const uint256 hash /** Memory only. */, it means if a transaction in mempool, it has this data member:hash?
or if on disk, it has no data member:hash?
It means that that hash is kept in the memory and not on disk.
newbie
Activity: 15
Merit: 2
October 07, 2016, 09:42:45 PM
#1
Bitcoin Core code defines class data type "CTransaction", i see it has a data member:CTxWitness, what dose CTxWitness use for?
and it has a data member:const uint256 hash /** Memory only. */, it means if a transaction in mempool, it has this data member:hash?
or if on disk, it has no data member:hash?

thank you.
Jump to: