diff options
author | Matt David <matt@netki.com> | 2016-03-08 09:43:17 -0800 |
---|---|---|
committer | Matt David <matt@netki.com> | 2016-03-08 09:43:17 -0800 |
commit | f753dd73723ce9e280190788326c672e2df1f0d2 (patch) | |
tree | b3e5da1ae0bebff75339f4ef1c65d1b405d016d4 /bip-0075 | |
parent | 1b96cf1e78d8e015bb148d929f312da3ef495743 (diff) |
- 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
Diffstat (limited to 'bip-0075')
-rw-r--r-- | bip-0075/paymentrequest.proto | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/bip-0075/paymentrequest.proto b/bip-0075/paymentrequest.proto index 8f39c6d..149dc97 100644 --- a/bip-0075/paymentrequest.proto +++ b/bip-0075/paymentrequest.proto @@ -17,12 +17,14 @@ message Output { } message PaymentDetails { optional string network = 1 [default = "main"]; // "main" or "test" - repeated Output outputs = 2; // Where payment should be sent - required uint64 time = 3; // Timestamp; when payment request created - optional uint64 expires = 4; // Timestamp; when this request should be considered invalid - 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 + repeated Output outputs = 2; // Where payment should be sent + required uint64 time = 3; // Timestamp; when payment request created + optional uint64 expires = 4; // Timestamp; when this request should be considered invalid + 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]; |