{"type":"rich","version":"1.0","author_name":"npub1uxks6rvrzqljyfp92sffgqypf8fpts0pv2dshvmmnrse76v0avlqy7wq7p","author_url":"https://nostr.ae/npub1uxks6rvrzqljyfp92sffgqypf8fpts0pv2dshvmmnrse76v0avlqy7wq7p","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2019-03-07\n📝 Original message:Can you elaborate a bit on what kind of reject messages your users are getting? I assume the users wallet connects directly to the Bitcoin p2p network?\n\nWhat does the wallet do when a transaction is rejected? Does it forget about it (that seems unsafe) or compose another one (with overlapping inputs)?\n\nSjors\n\n\u003e Op 6 mrt. 2019, om 17:49 heeft Andreas Schildbach via bitcoin-dev \u003cbitcoin-dev at lists.linuxfoundation.org\u003e het volgende geschreven:\n\u003e \n\u003e Reject messages cannot be replaced for debugging user problems. At least\n\u003e unless you plan to make RPC or bitcoind logfiles available via the P2P\n\u003e protocol (both probably not a good idea).\n\u003e \n\u003e The typical case is, I get mailed a wallet logfile with reject messages\n\u003e and that's all I have. I cannot access the bitcoind logfile(s) of the\n\u003e node(s) that generated the reject message in the first place. Nor can I\n\u003e access their RPC interface.\n\u003e \n\u003e I strongly suggest re-enabling reject messages by default before 0.18.\n\u003e \n\u003e \n\u003e On 06/03/2019 01.53, Marco Falke via bitcoin-dev wrote:\n\u003e\u003e Bitcoin Core may send \"reject\" messages as response to \"tx\", \"block\" or\n\u003e\u003e \"version\" messages from a network peer when the message could not be accepted.\n\u003e\u003e \n\u003e\u003e This feature is toggled by the `-enablebip61` command line option and has been\n\u003e\u003e disabled by default since Bitcoin Core version 0.18.0 (not yet released as of\n\u003e\u003e time of writing). Nodes on the network can not generally be trusted to send\n\u003e\u003e valid (\"reject\") messages, so this should only ever be used when connected to a\n\u003e\u003e trusted node. At this time, I am not aware of any software that requires this\n\u003e\u003e feature, and I would like to remove if from Bitcoin Core to make the codebase\n\u003e\u003e slimmer, easier to understand and maintain. Let us know if your application\n\u003e\u003e relies on this feature and you can not use any of the recommended alternatives:\n\u003e\u003e \n\u003e\u003e * Testing or debugging of implementations of the Bitcoin P2P network protocol\n\u003e\u003e  should be done by inspecting the log messages that are produced by a recent\n\u003e\u003e  version of Bitcoin Core. Bitcoin Core logs debug messages\n\u003e\u003e  (`-debug=\u003ccategory\u003e`) to a stream (`-printtoconsole`) or to a file\n\u003e\u003e  (`-debuglogfile=\u003cdebug.log\u003e`).\n\u003e\u003e \n\u003e\u003e * Testing the validity of a block can be achieved by specific RPCs:\n\u003e\u003e  - `submitblock`\n\u003e\u003e  - `getblocktemplate` with `'mode'` set to `'proposal'` for blocks with\n\u003e\u003e    potentially invalid POW\n\u003e\u003e \n\u003e\u003e * Testing the validity of a transaction can be achieved by specific RPCs:\n\u003e\u003e  - `sendrawtransaction`\n\u003e\u003e  - `testmempoolaccept`\n\u003e\u003e \n\u003e\u003e * Wallets should not use the absence of \"reject\" messages to indicate a\n\u003e\u003e  transaction has propagated the network, nor should wallets use \"reject\"\n\u003e\u003e  messages to set transaction fees. Wallets should rather use fee estimation\n\u003e\u003e  to determine transaction fees and set replace-by-fee if desired. Thus, they\n\u003e\u003e  could wait until the transaction has confirmed (taking into account the fee\n\u003e\u003e  target they set (compare the RPC `estimatesmartfee`)) or listen for the\n\u003e\u003e  transaction announcement by other network peers to check for propagation.\n\u003e\u003e \n\u003e\u003e I propose to remove \"reject\" messages from Bitcoin Core 0.19.0 unless there are\n\u003e\u003e valid concerns about its removal.\n\u003e\u003e \n\u003e\u003e Marco\n\u003e\u003e \n\u003e \n\u003e \n\u003e _______________________________________________\n\u003e bitcoin-dev mailing list\n\u003e bitcoin-dev at lists.linuxfoundation.org\n\u003e https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev"}
