1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-03-15 20:09:20 +01:00

- Add subtract_fee and replace_by_fee flags to PaymentDetails. replace_by_fee is commented out as it's only available in version 2 of the message

This commit is contained in:
Matt David 2016-03-08 09:43:17 -08:00
parent 1b96cf1e78
commit f753dd7372

View file

@ -23,6 +23,8 @@ message PaymentDetails {
optional string memo = 5; // Human-readable description of request for the customer
optional string payment_url = 6; // URL to send Payment and get PaymentACK
optional bytes merchant_data = 7; // Arbitrary data to include in the Payment message
optional bool subtract_fee = 1000; // Allow SubtractableFee
//optional bool replace_by_fee = 1001; // Force RBF true or false (version: 2)
}
message PaymentRequest {
optional uint32 payment_details_version = 1 [default = 1];