• Gregory Maxwell's avatar
    [raw] reject insanely high fees by default in sendrawtransaction · 205f7dfc
    Gregory Maxwell authored
    There have been several incidents where mainnet experimentation with
     raw transactions  resulted in insane fees.  This is hard to prevent
     in the raw transaction api because the inputs may not be known.
     Since sending doesn't work if the inputs aren't known, we can catch
     it there.
    
    This rejects fees > than 10000 * nMinRelayTxFee or 1 BTC with the
     defaults and can be overridden with a bool at the rpc.
    205f7dfc
main.cpp 148 KB