lnrpc 0.11.1 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +23 -23
- data/README.md +3 -1
- data/lib/grpc_services/autopilotrpc/autopilot_services_pb.rb +5 -5
- data/lib/grpc_services/chainrpc/chainnotifier_services_pb.rb +4 -4
- data/lib/grpc_services/invoicesrpc/invoices_services_pb.rb +5 -5
- data/lib/grpc_services/routerrpc/router_pb.rb +4 -0
- data/lib/grpc_services/routerrpc/router_services_pb.rb +14 -14
- data/lib/grpc_services/rpc_pb.rb +82 -0
- data/lib/grpc_services/rpc_services_pb.rb +75 -61
- data/lib/grpc_services/signrpc/signer_pb.rb +1 -0
- data/lib/grpc_services/signrpc/signer_services_pb.rb +9 -8
- data/lib/grpc_services/verrpc/verrpc_services_pb.rb +2 -2
- data/lib/grpc_services/walletrpc/walletkit_pb.rb +39 -0
- data/lib/grpc_services/walletrpc/walletkit_services_pb.rb +47 -14
- data/lib/grpc_services/walletunlocker_pb.rb +6 -0
- data/lib/grpc_services/walletunlocker_services_pb.rb +5 -5
- data/lib/grpc_services/watchtowerrpc/watchtower_services_pb.rb +2 -2
- data/lib/grpc_services/wtclientrpc/wtclient_pb.rb +6 -0
- data/lib/grpc_services/wtclientrpc/wtclient_services_pb.rb +7 -7
- data/lib/lnrpc/version.rb +1 -1
- data/lnrpc.gemspec +3 -3
- metadata +11 -11
@@ -10,7 +10,7 @@ module Verrpc
|
|
10
10
|
# and build information of the running daemon.
|
11
11
|
class Service
|
12
12
|
|
13
|
-
include GRPC::GenericService
|
13
|
+
include ::GRPC::GenericService
|
14
14
|
|
15
15
|
self.marshal_class_method = :encode
|
16
16
|
self.unmarshal_class_method = :decode
|
@@ -19,7 +19,7 @@ module Verrpc
|
|
19
19
|
# lncli: `version`
|
20
20
|
# GetVersion returns the current version and build information of the running
|
21
21
|
# daemon.
|
22
|
-
rpc :GetVersion, VersionRequest, Version
|
22
|
+
rpc :GetVersion, ::Verrpc::VersionRequest, ::Verrpc::Version
|
23
23
|
end
|
24
24
|
|
25
25
|
Stub = Service.rpc_stub_class
|
@@ -47,6 +47,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
47
47
|
optional :sat_per_kw, :int64, 1
|
48
48
|
repeated :outputs, :message, 2, "signrpc.TxOut"
|
49
49
|
optional :label, :string, 3
|
50
|
+
optional :min_confs, :int32, 4
|
51
|
+
optional :spend_unconfirmed, :bool, 5
|
50
52
|
end
|
51
53
|
add_message "walletrpc.SendOutputsResponse" do
|
52
54
|
optional :raw_tx, :bytes, 1
|
@@ -100,6 +102,37 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
100
102
|
end
|
101
103
|
add_message "walletrpc.LabelTransactionResponse" do
|
102
104
|
end
|
105
|
+
add_message "walletrpc.FundPsbtRequest" do
|
106
|
+
oneof :template do
|
107
|
+
optional :psbt, :bytes, 1
|
108
|
+
optional :raw, :message, 2, "walletrpc.TxTemplate"
|
109
|
+
end
|
110
|
+
oneof :fees do
|
111
|
+
optional :target_conf, :uint32, 3
|
112
|
+
optional :sat_per_vbyte, :uint32, 4
|
113
|
+
end
|
114
|
+
end
|
115
|
+
add_message "walletrpc.FundPsbtResponse" do
|
116
|
+
optional :funded_psbt, :bytes, 1
|
117
|
+
optional :change_output_index, :int32, 2
|
118
|
+
repeated :locked_utxos, :message, 3, "walletrpc.UtxoLease"
|
119
|
+
end
|
120
|
+
add_message "walletrpc.TxTemplate" do
|
121
|
+
repeated :inputs, :message, 1, "lnrpc.OutPoint"
|
122
|
+
map :outputs, :string, :uint64, 2
|
123
|
+
end
|
124
|
+
add_message "walletrpc.UtxoLease" do
|
125
|
+
optional :id, :bytes, 1
|
126
|
+
optional :outpoint, :message, 2, "lnrpc.OutPoint"
|
127
|
+
optional :expiration, :uint64, 3
|
128
|
+
end
|
129
|
+
add_message "walletrpc.FinalizePsbtRequest" do
|
130
|
+
optional :funded_psbt, :bytes, 1
|
131
|
+
end
|
132
|
+
add_message "walletrpc.FinalizePsbtResponse" do
|
133
|
+
optional :signed_psbt, :bytes, 1
|
134
|
+
optional :raw_final_tx, :bytes, 2
|
135
|
+
end
|
103
136
|
add_enum "walletrpc.WitnessType" do
|
104
137
|
value :UNKNOWN_WITNESS, 0
|
105
138
|
value :COMMITMENT_TIME_LOCK, 1
|
@@ -145,5 +178,11 @@ module Walletrpc
|
|
145
178
|
ListSweepsResponse::TransactionIDs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("walletrpc.ListSweepsResponse.TransactionIDs").msgclass
|
146
179
|
LabelTransactionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("walletrpc.LabelTransactionRequest").msgclass
|
147
180
|
LabelTransactionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("walletrpc.LabelTransactionResponse").msgclass
|
181
|
+
FundPsbtRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("walletrpc.FundPsbtRequest").msgclass
|
182
|
+
FundPsbtResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("walletrpc.FundPsbtResponse").msgclass
|
183
|
+
TxTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("walletrpc.TxTemplate").msgclass
|
184
|
+
UtxoLease = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("walletrpc.UtxoLease").msgclass
|
185
|
+
FinalizePsbtRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("walletrpc.FinalizePsbtRequest").msgclass
|
186
|
+
FinalizePsbtResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("walletrpc.FinalizePsbtResponse").msgclass
|
148
187
|
WitnessType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("walletrpc.WitnessType").enummodule
|
149
188
|
end
|
@@ -10,7 +10,7 @@ module Walletrpc
|
|
10
10
|
# daemon's wallet.
|
11
11
|
class Service
|
12
12
|
|
13
|
-
include GRPC::GenericService
|
13
|
+
include ::GRPC::GenericService
|
14
14
|
|
15
15
|
self.marshal_class_method = :encode
|
16
16
|
self.unmarshal_class_method = :decode
|
@@ -19,47 +19,47 @@ module Walletrpc
|
|
19
19
|
#
|
20
20
|
# ListUnspent returns a list of all utxos spendable by the wallet with a
|
21
21
|
# number of confirmations between the specified minimum and maximum.
|
22
|
-
rpc :ListUnspent, ListUnspentRequest, ListUnspentResponse
|
22
|
+
rpc :ListUnspent, ::Walletrpc::ListUnspentRequest, ::Walletrpc::ListUnspentResponse
|
23
23
|
#
|
24
24
|
# LeaseOutput locks an output to the given ID, preventing it from being
|
25
25
|
# available for any future coin selection attempts. The absolute time of the
|
26
26
|
# lock's expiration is returned. The expiration of the lock can be extended by
|
27
27
|
# successive invocations of this RPC. Outputs can be unlocked before their
|
28
28
|
# expiration through `ReleaseOutput`.
|
29
|
-
rpc :LeaseOutput, LeaseOutputRequest, LeaseOutputResponse
|
29
|
+
rpc :LeaseOutput, ::Walletrpc::LeaseOutputRequest, ::Walletrpc::LeaseOutputResponse
|
30
30
|
#
|
31
31
|
# ReleaseOutput unlocks an output, allowing it to be available for coin
|
32
32
|
# selection if it remains unspent. The ID should match the one used to
|
33
33
|
# originally lock the output.
|
34
|
-
rpc :ReleaseOutput, ReleaseOutputRequest, ReleaseOutputResponse
|
34
|
+
rpc :ReleaseOutput, ::Walletrpc::ReleaseOutputRequest, ::Walletrpc::ReleaseOutputResponse
|
35
35
|
#
|
36
36
|
# DeriveNextKey attempts to derive the *next* key within the key family
|
37
37
|
# (account in BIP43) specified. This method should return the next external
|
38
38
|
# child within this branch.
|
39
|
-
rpc :DeriveNextKey, KeyReq, Signrpc::KeyDescriptor
|
39
|
+
rpc :DeriveNextKey, ::Walletrpc::KeyReq, ::Signrpc::KeyDescriptor
|
40
40
|
#
|
41
41
|
# DeriveKey attempts to derive an arbitrary key specified by the passed
|
42
42
|
# KeyLocator.
|
43
|
-
rpc :DeriveKey, Signrpc::KeyLocator, Signrpc::KeyDescriptor
|
43
|
+
rpc :DeriveKey, ::Signrpc::KeyLocator, ::Signrpc::KeyDescriptor
|
44
44
|
#
|
45
45
|
# NextAddr returns the next unused address within the wallet.
|
46
|
-
rpc :NextAddr, AddrRequest, AddrResponse
|
46
|
+
rpc :NextAddr, ::Walletrpc::AddrRequest, ::Walletrpc::AddrResponse
|
47
47
|
#
|
48
48
|
# PublishTransaction attempts to publish the passed transaction to the
|
49
49
|
# network. Once this returns without an error, the wallet will continually
|
50
50
|
# attempt to re-broadcast the transaction on start up, until it enters the
|
51
51
|
# chain.
|
52
|
-
rpc :PublishTransaction, Transaction, PublishResponse
|
52
|
+
rpc :PublishTransaction, ::Walletrpc::Transaction, ::Walletrpc::PublishResponse
|
53
53
|
#
|
54
54
|
# SendOutputs is similar to the existing sendmany call in Bitcoind, and
|
55
55
|
# allows the caller to create a transaction that sends to several outputs at
|
56
56
|
# once. This is ideal when wanting to batch create a set of transactions.
|
57
|
-
rpc :SendOutputs, SendOutputsRequest, SendOutputsResponse
|
57
|
+
rpc :SendOutputs, ::Walletrpc::SendOutputsRequest, ::Walletrpc::SendOutputsResponse
|
58
58
|
#
|
59
59
|
# EstimateFee attempts to query the internal fee estimator of the wallet to
|
60
60
|
# determine the fee (in sat/kw) to attach to a transaction in order to
|
61
61
|
# achieve the confirmation target.
|
62
|
-
rpc :EstimateFee, EstimateFeeRequest, EstimateFeeResponse
|
62
|
+
rpc :EstimateFee, ::Walletrpc::EstimateFeeRequest, ::Walletrpc::EstimateFeeResponse
|
63
63
|
#
|
64
64
|
# PendingSweeps returns lists of on-chain outputs that lnd is currently
|
65
65
|
# attempting to sweep within its central batching engine. Outputs with similar
|
@@ -69,7 +69,7 @@ module Walletrpc
|
|
69
69
|
# NOTE: Some of the fields within PendingSweepsRequest are not guaranteed to
|
70
70
|
# remain supported. This is an advanced API that depends on the internals of
|
71
71
|
# the UtxoSweeper, so things may change.
|
72
|
-
rpc :PendingSweeps, PendingSweepsRequest, PendingSweepsResponse
|
72
|
+
rpc :PendingSweeps, ::Walletrpc::PendingSweepsRequest, ::Walletrpc::PendingSweepsResponse
|
73
73
|
#
|
74
74
|
# BumpFee bumps the fee of an arbitrary input within a transaction. This RPC
|
75
75
|
# takes a different approach than bitcoind's bumpfee command. lnd has a
|
@@ -96,18 +96,51 @@ module Walletrpc
|
|
96
96
|
# Note that this RPC currently doesn't perform any validation checks on the
|
97
97
|
# fee preference being provided. For now, the responsibility of ensuring that
|
98
98
|
# the new fee preference is sufficient is delegated to the user.
|
99
|
-
rpc :BumpFee, BumpFeeRequest, BumpFeeResponse
|
99
|
+
rpc :BumpFee, ::Walletrpc::BumpFeeRequest, ::Walletrpc::BumpFeeResponse
|
100
100
|
#
|
101
101
|
# ListSweeps returns a list of the sweep transactions our node has produced.
|
102
102
|
# Note that these sweeps may not be confirmed yet, as we record sweeps on
|
103
103
|
# broadcast, not confirmation.
|
104
|
-
rpc :ListSweeps, ListSweepsRequest, ListSweepsResponse
|
104
|
+
rpc :ListSweeps, ::Walletrpc::ListSweepsRequest, ::Walletrpc::ListSweepsResponse
|
105
105
|
#
|
106
106
|
# LabelTransaction adds a label to a transaction. If the transaction already
|
107
107
|
# has a label the call will fail unless the overwrite bool is set. This will
|
108
108
|
# overwrite the exiting transaction label. Labels must not be empty, and
|
109
109
|
# cannot exceed 500 characters.
|
110
|
-
rpc :LabelTransaction, LabelTransactionRequest, LabelTransactionResponse
|
110
|
+
rpc :LabelTransaction, ::Walletrpc::LabelTransactionRequest, ::Walletrpc::LabelTransactionResponse
|
111
|
+
#
|
112
|
+
# FundPsbt creates a fully populated PSBT that contains enough inputs to fund
|
113
|
+
# the outputs specified in the template. There are two ways of specifying a
|
114
|
+
# template: Either by passing in a PSBT with at least one output declared or
|
115
|
+
# by passing in a raw TxTemplate message.
|
116
|
+
#
|
117
|
+
# If there are no inputs specified in the template, coin selection is
|
118
|
+
# performed automatically. If the template does contain any inputs, it is
|
119
|
+
# assumed that full coin selection happened externally and no additional
|
120
|
+
# inputs are added. If the specified inputs aren't enough to fund the outputs
|
121
|
+
# with the given fee rate, an error is returned.
|
122
|
+
#
|
123
|
+
# After either selecting or verifying the inputs, all input UTXOs are locked
|
124
|
+
# with an internal app ID.
|
125
|
+
#
|
126
|
+
# NOTE: If this method returns without an error, it is the caller's
|
127
|
+
# responsibility to either spend the locked UTXOs (by finalizing and then
|
128
|
+
# publishing the transaction) or to unlock/release the locked UTXOs in case of
|
129
|
+
# an error on the caller's side.
|
130
|
+
rpc :FundPsbt, ::Walletrpc::FundPsbtRequest, ::Walletrpc::FundPsbtResponse
|
131
|
+
#
|
132
|
+
# FinalizePsbt expects a partial transaction with all inputs and outputs fully
|
133
|
+
# declared and tries to sign all inputs that belong to the wallet. Lnd must be
|
134
|
+
# the last signer of the transaction. That means, if there are any unsigned
|
135
|
+
# non-witness inputs or inputs without UTXO information attached or inputs
|
136
|
+
# without witness data that do not belong to lnd's wallet, this method will
|
137
|
+
# fail. If no error is returned, the PSBT is ready to be extracted and the
|
138
|
+
# final TX within to be broadcast.
|
139
|
+
#
|
140
|
+
# NOTE: This method does NOT publish the transaction once finalized. It is the
|
141
|
+
# caller's responsibility to either publish the transaction on success or
|
142
|
+
# unlock/release any locked UTXOs in case of an error in this method.
|
143
|
+
rpc :FinalizePsbt, ::Walletrpc::FinalizePsbtRequest, ::Walletrpc::FinalizePsbtResponse
|
111
144
|
end
|
112
145
|
|
113
146
|
Stub = Service.rpc_stub_class
|
@@ -20,21 +20,27 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
20
20
|
optional :aezeed_passphrase, :bytes, 3
|
21
21
|
optional :recovery_window, :int32, 4
|
22
22
|
optional :channel_backups, :message, 5, "lnrpc.ChanBackupSnapshot"
|
23
|
+
optional :stateless_init, :bool, 6
|
23
24
|
end
|
24
25
|
add_message "lnrpc.InitWalletResponse" do
|
26
|
+
optional :admin_macaroon, :bytes, 1
|
25
27
|
end
|
26
28
|
add_message "lnrpc.UnlockWalletRequest" do
|
27
29
|
optional :wallet_password, :bytes, 1
|
28
30
|
optional :recovery_window, :int32, 2
|
29
31
|
optional :channel_backups, :message, 3, "lnrpc.ChanBackupSnapshot"
|
32
|
+
optional :stateless_init, :bool, 4
|
30
33
|
end
|
31
34
|
add_message "lnrpc.UnlockWalletResponse" do
|
32
35
|
end
|
33
36
|
add_message "lnrpc.ChangePasswordRequest" do
|
34
37
|
optional :current_password, :bytes, 1
|
35
38
|
optional :new_password, :bytes, 2
|
39
|
+
optional :stateless_init, :bool, 3
|
40
|
+
optional :new_macaroon_root_key, :bool, 4
|
36
41
|
end
|
37
42
|
add_message "lnrpc.ChangePasswordResponse" do
|
43
|
+
optional :admin_macaroon, :bytes, 1
|
38
44
|
end
|
39
45
|
end
|
40
46
|
end
|
@@ -27,7 +27,7 @@ module Lnrpc
|
|
27
27
|
# lnd at first startup, and unlock a previously set up wallet.
|
28
28
|
class Service
|
29
29
|
|
30
|
-
include GRPC::GenericService
|
30
|
+
include ::GRPC::GenericService
|
31
31
|
|
32
32
|
self.marshal_class_method = :encode
|
33
33
|
self.unmarshal_class_method = :decode
|
@@ -42,7 +42,7 @@ module Lnrpc
|
|
42
42
|
# Once the cipherseed is obtained and verified by the user, the InitWallet
|
43
43
|
# method should be used to commit the newly generated seed, and create the
|
44
44
|
# wallet.
|
45
|
-
rpc :GenSeed, GenSeedRequest, GenSeedResponse
|
45
|
+
rpc :GenSeed, ::Lnrpc::GenSeedRequest, ::Lnrpc::GenSeedResponse
|
46
46
|
#
|
47
47
|
# InitWallet is used when lnd is starting up for the first time to fully
|
48
48
|
# initialize the daemon and its internal wallet. At the very least a wallet
|
@@ -56,15 +56,15 @@ module Lnrpc
|
|
56
56
|
# Alternatively, this can be used along with the GenSeed RPC to obtain a
|
57
57
|
# seed, then present it to the user. Once it has been verified by the user,
|
58
58
|
# the seed can be fed into this RPC in order to commit the new wallet.
|
59
|
-
rpc :InitWallet, InitWalletRequest, InitWalletResponse
|
59
|
+
rpc :InitWallet, ::Lnrpc::InitWalletRequest, ::Lnrpc::InitWalletResponse
|
60
60
|
# lncli: `unlock`
|
61
61
|
# UnlockWallet is used at startup of lnd to provide a password to unlock
|
62
62
|
# the wallet database.
|
63
|
-
rpc :UnlockWallet, UnlockWalletRequest, UnlockWalletResponse
|
63
|
+
rpc :UnlockWallet, ::Lnrpc::UnlockWalletRequest, ::Lnrpc::UnlockWalletResponse
|
64
64
|
# lncli: `changepassword`
|
65
65
|
# ChangePassword changes the password of the encrypted wallet. This will
|
66
66
|
# automatically unlock the wallet database if successful.
|
67
|
-
rpc :ChangePassword, ChangePasswordRequest, ChangePasswordResponse
|
67
|
+
rpc :ChangePassword, ::Lnrpc::ChangePasswordRequest, ::Lnrpc::ChangePasswordResponse
|
68
68
|
end
|
69
69
|
|
70
70
|
Stub = Service.rpc_stub_class
|
@@ -10,7 +10,7 @@ module Watchtowerrpc
|
|
10
10
|
# functionality of the daemon.
|
11
11
|
class Service
|
12
12
|
|
13
|
-
include GRPC::GenericService
|
13
|
+
include ::GRPC::GenericService
|
14
14
|
|
15
15
|
self.marshal_class_method = :encode
|
16
16
|
self.unmarshal_class_method = :decode
|
@@ -20,7 +20,7 @@ module Watchtowerrpc
|
|
20
20
|
# GetInfo returns general information concerning the companion watchtower
|
21
21
|
# including its public key and URIs where the server is currently
|
22
22
|
# listening for clients.
|
23
|
-
rpc :GetInfo, GetInfoRequest, GetInfoResponse
|
23
|
+
rpc :GetInfo, ::Watchtowerrpc::GetInfoRequest, ::Watchtowerrpc::GetInfoResponse
|
24
24
|
end
|
25
25
|
|
26
26
|
Stub = Service.rpc_stub_class
|
@@ -50,11 +50,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
50
50
|
optional :num_sessions_exhausted, :uint32, 5
|
51
51
|
end
|
52
52
|
add_message "wtclientrpc.PolicyRequest" do
|
53
|
+
optional :policy_type, :enum, 1, "wtclientrpc.PolicyType"
|
53
54
|
end
|
54
55
|
add_message "wtclientrpc.PolicyResponse" do
|
55
56
|
optional :max_updates, :uint32, 1
|
56
57
|
optional :sweep_sat_per_byte, :uint32, 2
|
57
58
|
end
|
59
|
+
add_enum "wtclientrpc.PolicyType" do
|
60
|
+
value :LEGACY, 0
|
61
|
+
value :ANCHOR, 1
|
62
|
+
end
|
58
63
|
end
|
59
64
|
end
|
60
65
|
|
@@ -72,4 +77,5 @@ module Wtclientrpc
|
|
72
77
|
StatsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wtclientrpc.StatsResponse").msgclass
|
73
78
|
PolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wtclientrpc.PolicyRequest").msgclass
|
74
79
|
PolicyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wtclientrpc.PolicyResponse").msgclass
|
80
|
+
PolicyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wtclientrpc.PolicyType").enummodule
|
75
81
|
end
|
@@ -10,7 +10,7 @@ module Wtclientrpc
|
|
10
10
|
# functionality of the daemon.
|
11
11
|
class Service
|
12
12
|
|
13
|
-
include GRPC::GenericService
|
13
|
+
include ::GRPC::GenericService
|
14
14
|
|
15
15
|
self.marshal_class_method = :encode
|
16
16
|
self.unmarshal_class_method = :decode
|
@@ -21,21 +21,21 @@ module Wtclientrpc
|
|
21
21
|
# considers it for new sessions. If the watchtower already exists, then
|
22
22
|
# any new addresses included will be considered when dialing it for
|
23
23
|
# session negotiations and backups.
|
24
|
-
rpc :AddTower, AddTowerRequest, AddTowerResponse
|
24
|
+
rpc :AddTower, ::Wtclientrpc::AddTowerRequest, ::Wtclientrpc::AddTowerResponse
|
25
25
|
#
|
26
26
|
# RemoveTower removes a watchtower from being considered for future session
|
27
27
|
# negotiations and from being used for any subsequent backups until it's added
|
28
28
|
# again. If an address is provided, then this RPC only serves as a way of
|
29
29
|
# removing the address from the watchtower instead.
|
30
|
-
rpc :RemoveTower, RemoveTowerRequest, RemoveTowerResponse
|
30
|
+
rpc :RemoveTower, ::Wtclientrpc::RemoveTowerRequest, ::Wtclientrpc::RemoveTowerResponse
|
31
31
|
# ListTowers returns the list of watchtowers registered with the client.
|
32
|
-
rpc :ListTowers, ListTowersRequest, ListTowersResponse
|
32
|
+
rpc :ListTowers, ::Wtclientrpc::ListTowersRequest, ::Wtclientrpc::ListTowersResponse
|
33
33
|
# GetTowerInfo retrieves information for a registered watchtower.
|
34
|
-
rpc :GetTowerInfo, GetTowerInfoRequest, Tower
|
34
|
+
rpc :GetTowerInfo, ::Wtclientrpc::GetTowerInfoRequest, ::Wtclientrpc::Tower
|
35
35
|
# Stats returns the in-memory statistics of the client since startup.
|
36
|
-
rpc :Stats, StatsRequest, StatsResponse
|
36
|
+
rpc :Stats, ::Wtclientrpc::StatsRequest, ::Wtclientrpc::StatsResponse
|
37
37
|
# Policy returns the active watchtower client policy configuration.
|
38
|
-
rpc :Policy, PolicyRequest, PolicyResponse
|
38
|
+
rpc :Policy, ::Wtclientrpc::PolicyRequest, ::Wtclientrpc::PolicyResponse
|
39
39
|
end
|
40
40
|
|
41
41
|
Stub = Service.rpc_stub_class
|
data/lib/lnrpc/version.rb
CHANGED
data/lnrpc.gemspec
CHANGED
@@ -25,10 +25,10 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
26
|
spec.require_paths = ["lib", "lib/grpc_services"]
|
27
27
|
|
28
|
-
spec.add_development_dependency "bundler", "
|
28
|
+
spec.add_development_dependency "bundler", "> 2.0"
|
29
29
|
spec.add_development_dependency "rake", "~> 13.0"
|
30
30
|
spec.add_development_dependency "rspec", "~> 3.0"
|
31
31
|
|
32
|
-
spec.add_dependency "grpc", ">= 1.
|
33
|
-
spec.add_dependency "google-protobuf", ">=3.
|
32
|
+
spec.add_dependency "grpc", ">= 1.28.0"
|
33
|
+
spec.add_dependency "google-protobuf", ">=3.12"
|
34
34
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lnrpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bumann
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.28.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.28.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: google-protobuf
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '3.
|
75
|
+
version: '3.12'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '3.
|
82
|
+
version: '3.12'
|
83
83
|
description: gRPC service definitions for the Lightning Network Daemon (lnd) gRPC
|
84
84
|
interface packed as ruby gem
|
85
85
|
email:
|
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
149
|
- !ruby/object:Gem::Version
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
|
-
rubygems_version: 3.
|
152
|
+
rubygems_version: 3.1.4
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: gRPC interface for lnd packed as ruby gem
|