Discussion about Bitcoin development http://bitcoincore.org http://github.com/bitcoin/bitcoin http://twitter.com/BitcoinCoreOrg List in: @Crypto @CryptoCurrencies Rules: All participants require username & image set No altcoin/ICO discussion or promo
it seems to be it's 546 for p2pkh/p2sh and 294 for segwit v0/v1
Читать полностью…Can anyone point me to a reference to check what is the dust limit in bitcoin core's default relay policy?
I found the GetDustThreshold method inside policy.cpp, but I don't know C++ and can't understand it.
I know it's 546 for P2PKH, but can't grasp for P2SH-P2WPKH, P2WPKH and P2TR.
Segwit admits lower values, like 300 sats.
This is the code:
size_t nSize = GetSerializeSize(txout);Читать полностью…
int witnessversion = 0;
std::vector<unsigned char> witnessprogram;
// Note this computation is for spending a Segwit v0 P2WPKH output (a 33 bytes
// public key + an ECDSA signature). For Segwit v1 Taproot outputs the minimum
// satisfaction is lower (a single BIP340 signature) but this computation was
// kept to not further reduce the dust level.
// See discussion in https://github.com/bitcoin/bitcoin/pull/22779 for details.
if (txout.scriptPubKey.IsWitnessProgram(witnessversion, witnessprogram)) {
// sum the sizes of the parts of a transaction input
// with 75% segwit discount applied to the script size.
nSize += (32 + 4 + 1 + (107 / WITNESS_SCALE_FACTOR) + 4);
} else {
nSize += (32 + 4 + 1 + 107 + 4); // the 148 mentioned above
}
return dustRelayFeeIn.GetFee(nSize);
what's the correct flag for setting btcd to use testnet4? i can see on the github repo it's been added and i'm running the latest version but i cannot work out how to enable it. trying to specify on the terminal and the config file doesn't work
Читать полностью…i mean, will updating bitcoin core automatically move me to testnet4
Читать полностью…it's all mined, i wanted to try and mine some testnet coins
Читать полностью…Is there any Bitcoin nodes that are "Made in the USA"?
Читать полностью…"Setgenerate True 1"
I need it! And I'm interested in not generation all of my rewards/keys, just the keys that I sent Bitcoin too, and maybe one or two 'Select' Block Rewards. Which may require a panel to view 'DumpWallet' files in the Bitcoin system.
Is it possible to ask Bitcoin Devs to this, specifically for me, as many others seem uninterested in support the original Legacy Wallets and CPU Mining.
Thanks.
Did they delete the BTC Lightning group or renamed it some how, i cant find it anymore ?
Читать полностью…then it makes even less sense to use the BRC20 anti-pattern
Читать полностью…hehe, that part is the least problematic to me, just the claims are wild
Читать полностью…well, this is the info I need:size_t nSize = GetSerializeSize(txout);
nvm, it's not been put into the latest release yet, cloning the github repo and building it works fine
Читать полностью…Yes that's testnet3. Check out https://testnet4.com/
Читать полностью…refer to bitcoin forum or Ordicord discord server for ordinals or brc20 related discussion
Читать полностью…It was made before ordinals and is more like coloured coins like redcoin
Читать полностью…there were many attempts, and they are all forgoten (short time pump and dumps)
Читать полностью…