Spam Filter Code in Tx Relay & Mempool Acceptance Ignores OFAC SDN Sanctions #29137

issue derekm openend this issue on December 23, 2023
  1. derekm commented at 3:52 am on December 23, 2023: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    As an American Bitcoin miner, New transactions’ inputs and outputs are not checked for OFAC SDN Sanctions against XBT, Therefore I am exposed to the risk of imprisonment should I mine a block containing txns for specially designated nationals and blocked persons.

    Expected behaviour

    As an American Bitcoin miner, I should be able to configure my node to check incoming transactions for OFAC SDN Sanctions against XBT, Because I cannot legally mine a block containing txns for specially designated nationals and blocked persons.

    Steps to reproduce

    1. Submit a standard transaction involving a specially designated national or blocked person
    2. Watch it be accepted by any and all Bitcoin nodes
    3. ???
    4. PROFIT!

    Relevant log output

    No response

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    master@c840dea27e

    Operating system and version

    MINGW64 MSYS2

    Machine specifications

    Surface Laptop Go 2

  2. tshev commented at 6:29 am on December 23, 2023: none
    Thank you for highlighting the issue!
  3. fanquake closed this on Dec 23, 2023

  4. derekm commented at 2:35 pm on December 23, 2023: none

    @fanquake – Bitcoin Core’s spam filter code already has this Solver utility which provides a vSolutionsRet output parameter that contains exactly the data that needs to be matched against OFAC SDN sanctions for XBT: https://github.com/bitcoin/bitcoin/blob/master/src/script/solver.cpp#L140

    I am working on a PR to implement enforcement of these Sanctions, which enforcement is required of every U.S. person and every foreign person working for U.S. persons.

    With this Issue being posted to the official repository for Bitcoin and with this Issue being closed/dismissed by an official representative of Bitcoin Core, sanctions violations on Bitcoin have now moved from “negligent” to “culpable mental state greater than negligence.” Thank you for your service.


derekm tshev


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-30 00:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me