diff --git a/cmd/lncli/cmd_open_channel.go b/cmd/lncli/cmd_open_channel.go index 68e1bbb2..91aecd5f 100644 --- a/cmd/lncli/cmd_open_channel.go +++ b/cmd/lncli/cmd_open_channel.go @@ -121,7 +121,7 @@ var openChannelCommand = cli.Command{ cli.Int64Flag{ Name: "sat_per_byte", Usage: "(optional) a manual fee expressed in " + - "sat/byte that should be used when crafting " + + "sat/vbyte that should be used when crafting " + "the transaction", }, cli.BoolFlag{ diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index 13673ec5..48e466af 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -255,7 +255,7 @@ var sendCoinsCommand = cli.Command{ cli.Int64Flag{ Name: "sat_per_byte", Usage: "(optional) a manual fee expressed in " + - "sat/byte that should be used when crafting " + + "sat/vbyte that should be used when crafting " + "the transaction", }, cli.Uint64Flag{ @@ -481,7 +481,7 @@ var sendManyCommand = cli.Command{ }, cli.Int64Flag{ Name: "sat_per_byte", - Usage: "(optional) a manual fee expressed in sat/byte that should be " + + Usage: "(optional) a manual fee expressed in sat/vbyte that should be " + "used when crafting the transaction", }, cli.Uint64Flag{ @@ -692,7 +692,7 @@ var closeChannelCommand = cli.Command{ cli.Int64Flag{ Name: "sat_per_byte", Usage: "(optional) a manual fee expressed in " + - "sat/byte that should be used when crafting " + + "sat/vbyte that should be used when crafting " + "the transaction", }, cli.StringFlag{ @@ -845,7 +845,7 @@ var closeAllChannelsCommand = cli.Command{ cli.Int64Flag{ Name: "sat_per_byte", Usage: "(optional) a manual fee expressed in " + - "sat/byte that should be used when crafting " + + "sat/vbyte that should be used when crafting " + "the closing transactions", }, }, diff --git a/cmd/lncli/walletrpc_active.go b/cmd/lncli/walletrpc_active.go index b7f8fd32..2d7e6b16 100644 --- a/cmd/lncli/walletrpc_active.go +++ b/cmd/lncli/walletrpc_active.go @@ -154,7 +154,7 @@ var bumpFeeCommand = cli.Command{ }, cli.Uint64Flag{ Name: "sat_per_byte", - Usage: "a manual fee expressed in sat/byte that " + + Usage: "a manual fee expressed in sat/vbyte that " + "should be used when sweeping the output", }, cli.BoolFlag{ @@ -217,7 +217,7 @@ var bumpCloseFeeCommand = cli.Command{ }, cli.Uint64Flag{ Name: "sat_per_byte", - Usage: "a manual fee expressed in sat/byte that " + + Usage: "a manual fee expressed in sat/vbyte that " + "should be used when sweeping the output", }, }, diff --git a/lnrpc/rpc.pb.go b/lnrpc/rpc.pb.go index 1bb6ee0a..6f996209 100644 --- a/lnrpc/rpc.pb.go +++ b/lnrpc/rpc.pb.go @@ -2075,7 +2075,7 @@ func (m *EstimateFeeRequest) GetTargetConf() int32 { type EstimateFeeResponse struct { // The total fee in satoshis. FeeSat int64 `protobuf:"varint,1,opt,name=fee_sat,json=feeSat,proto3" json:"fee_sat,omitempty"` - // The fee rate in satoshi/byte. + // The fee rate in satoshi/vbyte. FeerateSatPerByte int64 `protobuf:"varint,2,opt,name=feerate_sat_per_byte,json=feerateSatPerByte,proto3" json:"feerate_sat_per_byte,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2127,7 +2127,7 @@ type SendManyRequest struct { // The target number of blocks that this transaction should be confirmed // by. TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` - // A manual fee rate set in sat/byte that should be used when crafting the + // A manual fee rate set in sat/vbyte that should be used when crafting the // transaction. SatPerByte int64 `protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // An optional label for the transaction, limited to 500 characters. @@ -2257,7 +2257,7 @@ type SendCoinsRequest struct { // The target number of blocks that this transaction should be confirmed // by. TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` - // A manual fee rate set in sat/byte that should be used when crafting the + // A manual fee rate set in sat/vbyte that should be used when crafting the // transaction. SatPerByte int64 `protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // @@ -4801,7 +4801,7 @@ type CloseChannelRequest struct { // The target number of blocks that the closure transaction should be // confirmed by. TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` - // A manual fee rate set in sat/byte that should be used when crafting the + // A manual fee rate set in sat/vbyte that should be used when crafting the // closure transaction. SatPerByte int64 `protobuf:"varint,4,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // @@ -5085,7 +5085,7 @@ type OpenChannelRequest struct { // The target number of blocks that the funding transaction should be // confirmed by. TargetConf int32 `protobuf:"varint,6,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` - // A manual fee rate set in sat/byte that should be used when crafting the + // A manual fee rate set in sat/vbyte that should be used when crafting the // funding transaction. SatPerByte int64 `protobuf:"varint,7,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // Whether this channel should be private, not announced to the greater diff --git a/lnrpc/rpc.proto b/lnrpc/rpc.proto index 28020f70..ecba61c3 100644 --- a/lnrpc/rpc.proto +++ b/lnrpc/rpc.proto @@ -902,7 +902,7 @@ message EstimateFeeResponse { // The total fee in satoshis. int64 fee_sat = 1; - // The fee rate in satoshi/byte. + // The fee rate in satoshi/vbyte. int64 feerate_sat_per_byte = 2; } @@ -914,7 +914,7 @@ message SendManyRequest { // by. int32 target_conf = 3; - // A manual fee rate set in sat/byte that should be used when crafting the + // A manual fee rate set in sat/vbyte that should be used when crafting the // transaction. int64 sat_per_byte = 5; @@ -944,7 +944,7 @@ message SendCoinsRequest { // by. int32 target_conf = 3; - // A manual fee rate set in sat/byte that should be used when crafting the + // A manual fee rate set in sat/vbyte that should be used when crafting the // transaction. int64 sat_per_byte = 5; @@ -1685,7 +1685,7 @@ message CloseChannelRequest { // confirmed by. int32 target_conf = 3; - // A manual fee rate set in sat/byte that should be used when crafting the + // A manual fee rate set in sat/vbyte that should be used when crafting the // closure transaction. int64 sat_per_byte = 4; @@ -1756,7 +1756,7 @@ message OpenChannelRequest { // confirmed by. int32 target_conf = 6; - // A manual fee rate set in sat/byte that should be used when crafting the + // A manual fee rate set in sat/vbyte that should be used when crafting the // funding transaction. int64 sat_per_byte = 7; diff --git a/lnrpc/rpc.swagger.json b/lnrpc/rpc.swagger.json index 37d5b778..8157ab1b 100644 --- a/lnrpc/rpc.swagger.json +++ b/lnrpc/rpc.swagger.json @@ -672,7 +672,7 @@ }, { "name": "sat_per_byte", - "description": "A manual fee rate set in sat/byte that should be used when crafting the\nclosure transaction.", + "description": "A manual fee rate set in sat/vbyte that should be used when crafting the\nclosure transaction.", "in": "query", "required": false, "type": "string", @@ -3397,7 +3397,7 @@ "feerate_sat_per_byte": { "type": "string", "format": "int64", - "description": "The fee rate in satoshi/byte." + "description": "The fee rate in satoshi/vbyte." } } }, @@ -4667,7 +4667,7 @@ "sat_per_byte": { "type": "string", "format": "int64", - "description": "A manual fee rate set in sat/byte that should be used when crafting the\nfunding transaction." + "description": "A manual fee rate set in sat/vbyte that should be used when crafting the\nfunding transaction." }, "private": { "type": "boolean", @@ -5347,7 +5347,7 @@ "sat_per_byte": { "type": "string", "format": "int64", - "description": "A manual fee rate set in sat/byte that should be used when crafting the\ntransaction." + "description": "A manual fee rate set in sat/vbyte that should be used when crafting the\ntransaction." }, "send_all": { "type": "boolean", @@ -5398,7 +5398,7 @@ "sat_per_byte": { "type": "string", "format": "int64", - "description": "A manual fee rate set in sat/byte that should be used when crafting the\ntransaction." + "description": "A manual fee rate set in sat/vbyte that should be used when crafting the\ntransaction." }, "label": { "type": "string", diff --git a/lnrpc/walletrpc/walletkit.pb.go b/lnrpc/walletrpc/walletkit.pb.go index 04a8c15a..da7b6e3b 100644 --- a/lnrpc/walletrpc/walletkit.pb.go +++ b/lnrpc/walletrpc/walletkit.pb.go @@ -839,9 +839,9 @@ type PendingSweep struct { // The value of the output we're attempting to sweep. AmountSat uint32 `protobuf:"varint,3,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"` // - //The fee rate we'll use to sweep the output. The fee rate is only determined - //once a sweeping transaction for the output is created, so it's possible for - //this to be 0 before this. + //The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee + //rate is only determined once a sweeping transaction for the output is + //created, so it's possible for this to be 0 before this. SatPerByte uint32 `protobuf:"varint,4,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // The number of broadcast attempts we've made to sweep the output. BroadcastAttempts uint32 `protobuf:"varint,5,opt,name=broadcast_attempts,json=broadcastAttempts,proto3" json:"broadcast_attempts,omitempty"` @@ -851,7 +851,7 @@ type PendingSweep struct { NextBroadcastHeight uint32 `protobuf:"varint,6,opt,name=next_broadcast_height,json=nextBroadcastHeight,proto3" json:"next_broadcast_height,omitempty"` // The requested confirmation target for this output. RequestedConfTarget uint32 `protobuf:"varint,8,opt,name=requested_conf_target,json=requestedConfTarget,proto3" json:"requested_conf_target,omitempty"` - // The requested fee rate, expressed in sat/byte, for this output. + // The requested fee rate, expressed in sat/vbyte, for this output. RequestedSatPerByte uint32 `protobuf:"varint,9,opt,name=requested_sat_per_byte,json=requestedSatPerByte,proto3" json:"requested_sat_per_byte,omitempty"` // //Whether this input must be force-swept. This means that it is swept even @@ -1028,7 +1028,7 @@ type BumpFeeRequest struct { // The target number of blocks that the input should be spent within. TargetConf uint32 `protobuf:"varint,2,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` // - //The fee rate, expressed in sat/byte, that should be used to spend the input + //The fee rate, expressed in sat/vbyte, that should be used to spend the input //with. SatPerByte uint32 `protobuf:"varint,3,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // diff --git a/lnrpc/walletrpc/walletkit.proto b/lnrpc/walletrpc/walletkit.proto index 1344115b..9b9ea87f 100644 --- a/lnrpc/walletrpc/walletkit.proto +++ b/lnrpc/walletrpc/walletkit.proto @@ -409,9 +409,9 @@ message PendingSweep { uint32 amount_sat = 3; /* - The fee rate we'll use to sweep the output. The fee rate is only determined - once a sweeping transaction for the output is created, so it's possible for - this to be 0 before this. + The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee + rate is only determined once a sweeping transaction for the output is + created, so it's possible for this to be 0 before this. */ uint32 sat_per_byte = 4; @@ -427,7 +427,7 @@ message PendingSweep { // The requested confirmation target for this output. uint32 requested_conf_target = 8; - // The requested fee rate, expressed in sat/byte, for this output. + // The requested fee rate, expressed in sat/vbyte, for this output. uint32 requested_sat_per_byte = 9; /* @@ -455,7 +455,7 @@ message BumpFeeRequest { uint32 target_conf = 2; /* - The fee rate, expressed in sat/byte, that should be used to spend the input + The fee rate, expressed in sat/vbyte, that should be used to spend the input with. */ uint32 sat_per_byte = 3; diff --git a/lnrpc/walletrpc/walletkit.swagger.json b/lnrpc/walletrpc/walletkit.swagger.json index 9c1c8a33..89a96363 100644 --- a/lnrpc/walletrpc/walletkit.swagger.json +++ b/lnrpc/walletrpc/walletkit.swagger.json @@ -758,7 +758,7 @@ "sat_per_byte": { "type": "integer", "format": "int64", - "description": "The fee rate, expressed in sat/byte, that should be used to spend the input\nwith." + "description": "The fee rate, expressed in sat/vbyte, that should be used to spend the input\nwith." }, "force": { "type": "boolean", @@ -971,7 +971,7 @@ "sat_per_byte": { "type": "integer", "format": "int64", - "description": "The fee rate we'll use to sweep the output. The fee rate is only determined\nonce a sweeping transaction for the output is created, so it's possible for\nthis to be 0 before this." + "description": "The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee\nrate is only determined once a sweeping transaction for the output is\ncreated, so it's possible for this to be 0 before this." }, "broadcast_attempts": { "type": "integer", @@ -991,7 +991,7 @@ "requested_sat_per_byte": { "type": "integer", "format": "int64", - "description": "The requested fee rate, expressed in sat/byte, for this output." + "description": "The requested fee rate, expressed in sat/vbyte, for this output." }, "force": { "type": "boolean",