3

I thought vbytes were equal to weight units divided by 4 It is *, but rounded up to the next integer, so the implementation in bitcoind is : int64_t GetVirtualTransactionSize(int64_t nWeight, int64_t nSigOpCost, unsigned int bytes_per_sigop) { return (std::max(nWeight, nSigOpCost * bytes_per_sigop) + WITNESS_SCALE_FACTOR - 1) / WITNESS_SCALE_FACTOR; } ...


1

From bitcoin-cli help decodescript: { "asm":"asm", (string) Script public key "type":"type", (string) The output type (e.g. nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata, witness_v0_scripthash, witness_v0_keyhash, witness_unknown) "reqSigs": n, (numeric) The required signatures "addresses": [ (json ...


Only top voted, non community-wiki answers of a minimum length are eligible