mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 01:40:16 +01:00
Base updates of Bitcoin & LND (#4263)
* Bitcoin Core v25.1 update * LND v0.17.1 update * updated protobuffs python renderings * fix python grpc module * update CHANGES * lnd update to v0.17.2-beta --------- Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
This commit is contained in:
parent
df210e6e45
commit
624f8ca1a7
@ -1,5 +1,7 @@
|
||||
## What's new in Version 1.11.0 of RaspiBlitz?
|
||||
|
||||
- Update: Bitcoin Core v25.1 [details](https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-25.1.md)
|
||||
- Update: LND v0.17.2-beta [details](https://github.com/lightningnetwork/lnd/releases/tag/v0.17.2-beta)
|
||||
- Update: BTCPayServer v1.11.7 [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.11.7)
|
||||
|
||||
## What's new in Version 1.10.0 of RaspiBlitz?
|
||||
|
@ -401,13 +401,13 @@ done
|
||||
# make sure /usr/bin/pip exists (and calls pip3 in Debian Buster)
|
||||
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
|
||||
# 1. libs (for global python scripts)
|
||||
# grpcio==1.42.0 googleapis-common-protos==1.53.0 toml==0.10.2 j2cli==0.3.10 requests[socks]==2.21.0
|
||||
# grpcio==1.59.3 googleapis-common-protos==1.61.0 toml==0.10.2 j2cli==0.3.10 requests[socks]==2.21.0 protobuf==4.25.1 pathlib2==2.3.7.post1
|
||||
# 2. For TorBox bridges python scripts (pip3) https://github.com/radio24/TorBox/blob/master/requirements.txt
|
||||
# pytesseract mechanize PySocks urwid Pillow requests
|
||||
# 3. Nyx
|
||||
# setuptools
|
||||
sudo -H python3 -m pip install --upgrade pip
|
||||
sudo -H python3 -m pip install grpcio==1.59.3 googleapis-common-protos==1.61.0 toml==0.10.2 j2cli==0.3.10 requests[socks]==2.31.0 protobuf==4.25.1 pathlib2==2.3.7.post1
|
||||
sudo -H python3 -m pip install grpcio==1.59.3 googleapis-common-protos==1.61.0 toml==0.10.2 j2cli==0.3.10 requests[socks]==2.21.0 protobuf==4.25.1 pathlib2==2.3.7.post1
|
||||
sudo -H python3 -m pip install pytesseract mechanize PySocks urwid Pillow requests setuptools
|
||||
|
||||
echo -e "\n*** PREPARE ${baseimage} ***"
|
||||
|
@ -9,8 +9,6 @@ source <(/home/admin/config.scripts/network.aliases.sh getvars lnd $1)
|
||||
|
||||
sudo mkdir /var/cache/raspiblitz/temp 2>/dev/null
|
||||
|
||||
if ! pip list | grep grpc; then sudo -H python3 -m pip install grpcio==1.38.1; fi
|
||||
|
||||
askLNDbackupCopy()
|
||||
{
|
||||
whiptail --title "LND Data Backup" --yes-button "Backup" --no-button "Skip" --yesno "
|
||||
|
@ -267,7 +267,6 @@ if [ "${lightning}" == "lnd" ]; then
|
||||
|
||||
echo "WALLET --> SEED" >> ${logFile}
|
||||
/home/admin/_cache.sh set message "LND Wallet (SEED)"
|
||||
if ! pip list | grep grpc; then sudo -H python3 -m pip install grpcio==1.38.1; fi
|
||||
source <(/home/admin/config.scripts/lnd.initwallet.py seed mainnet "${passwordC}" "${seedWords}" "${seedPassword}")
|
||||
if [ "${err}" != "" ]; then
|
||||
/home/admin/config.scripts/blitz.error.sh _provision.setup.sh "lnd-wallet-seed" "lnd.initwallet.py seed returned error" "/home/admin/config.scripts/lnd.initwallet.py seed mainnet ... --> ${err} + ${errMore}" ${logFile}
|
||||
@ -284,7 +283,6 @@ if [ "${lightning}" == "lnd" ]; then
|
||||
|
||||
echo "# WALLET --> NEW" >> ${logFile}
|
||||
/home/admin/_cache.sh set message "LND Wallet (NEW)"
|
||||
if ! pip list | grep grpc; then sudo -H python3 -m pip install grpcio==1.38.1; fi
|
||||
source <(/home/admin/config.scripts/lnd.initwallet.py new mainnet "${passwordC}")
|
||||
if [ "${err}" != "" ]; then
|
||||
/home/admin/config.scripts/blitz.error.sh _provision.setup.sh "lnd-wallet-new" "lnd.initwallet.py new returned error" "/home/admin/config.scripts/lnd.initwallet.py new mainnet ... --> ${err} + ${errMore}" ${logFile}
|
||||
|
@ -864,7 +864,6 @@ if [ "${lightning}" == "lnd" ];then
|
||||
if [ "${passwordFlagExists}" == "1" ]; then
|
||||
echo "Found /mnt/hdd/passwordc.flag .. changing password" >> ${logFile}
|
||||
oldPasswordC=$(cat /mnt/hdd/passwordc.flag)
|
||||
if ! pip list | grep grpc; then sudo -H python3 -m pip install grpcio==1.38.1; fi
|
||||
/home/admin/config.scripts/lnd.initwallet.py change-password mainnet "${oldPasswordC}" "${passwordC}" >> ${logFile}
|
||||
shred -u /mnt/hdd/passwordc.flag
|
||||
else
|
||||
|
@ -15,7 +15,7 @@ if [ "$1" = "install" ]; then
|
||||
|
||||
# set version (change if update is available)
|
||||
# https://bitcoincore.org/en/download/
|
||||
bitcoinVersion="25.0"
|
||||
bitcoinVersion="25.1"
|
||||
|
||||
# needed to check code signing
|
||||
# https://github.com/laanwj
|
||||
|
@ -489,10 +489,6 @@ elif [ "${abcd}" = "c" ]; then
|
||||
sleep 2
|
||||
|
||||
err=""
|
||||
if ! pip list | grep grpc; then
|
||||
echo "# pip install grpc"
|
||||
sudo -H python3 -m pip install grpcio==1.38.1 1>/dev/null 2>/dev/null
|
||||
fi
|
||||
source <(sudo /home/admin/config.scripts/lnd.initwallet.py change-password mainnet $oldPassword $newPassword)
|
||||
if [ "${err}" != "" ]; then
|
||||
echo "error='Was not able to change password'"
|
||||
|
@ -4,7 +4,7 @@
|
||||
## based on https://raspibolt.github.io/raspibolt/raspibolt_40_lnd.html#lightning-lnd
|
||||
## see LND releases: https://github.com/lightningnetwork/lnd/releases
|
||||
### If you change here - make sure to also change interims version in lnd.update.sh #!
|
||||
lndVersion="0.16.4-beta"
|
||||
lndVersion="0.17.2-beta"
|
||||
|
||||
# olaoluwa
|
||||
PGPauthor="roasbeef"
|
||||
@ -422,7 +422,6 @@ alias ${netprefix}lndconf=\"sudo nano /home/bitcoin/.lnd/${netprefix}lnd.conf\"\
|
||||
else
|
||||
passwordC="raspiblitz"
|
||||
fi
|
||||
if ! pip list | grep grpc; then sudo -H python3 -m pip install grpcio==1.38.1; fi
|
||||
source <(sudo /home/admin/config.scripts/lnd.initwallet.py new ${CHAIN} ${passwordC})
|
||||
if [ "${err}" != "" ]; then
|
||||
clear
|
||||
|
@ -101,8 +101,10 @@ service Lightning {
|
||||
rpc SignMessage (SignMessageRequest) returns (SignMessageResponse);
|
||||
|
||||
/* lncli: `verifymessage`
|
||||
VerifyMessage verifies a signature over a msg. The signature must be
|
||||
zbase32 encoded and signed by an active node in the resident node's
|
||||
VerifyMessage verifies a signature over a message and recovers the signer's
|
||||
public key. The signature is only deemed valid if the recovered public key
|
||||
corresponds to a node key in the public Lightning network. The signature
|
||||
must be zbase32 encoded and signed by an active node in the resident node's
|
||||
channel database. In addition to returning the validity of the signature,
|
||||
VerifyMessage also returns the recovered pubkey from the signature.
|
||||
*/
|
||||
@ -1350,6 +1352,13 @@ enum CommitmentType {
|
||||
channel before its maturity date.
|
||||
*/
|
||||
SCRIPT_ENFORCED_LEASE = 4;
|
||||
|
||||
/*
|
||||
A channel that uses musig2 for the funding output, and the new tapscript
|
||||
features where relevant.
|
||||
*/
|
||||
// TODO(roasbeef): need script enforce mirror type for the above as well?
|
||||
SIMPLE_TAPROOT = 5;
|
||||
}
|
||||
|
||||
message ChannelConstraints {
|
||||
@ -1545,6 +1554,13 @@ message Channel {
|
||||
|
||||
// This is the peer SCID alias.
|
||||
uint64 peer_scid_alias = 35 [jstype = JS_STRING];
|
||||
|
||||
/*
|
||||
An optional note-to-self to go along with the channel containing some
|
||||
useful information. This is only ever stored locally and in no way impacts
|
||||
the channel's operation.
|
||||
*/
|
||||
string memo = 36;
|
||||
}
|
||||
|
||||
message ListChannelsRequest {
|
||||
@ -1910,13 +1926,16 @@ message GetInfoResponse {
|
||||
/*
|
||||
Whether the current node is connected to testnet. This field is
|
||||
deprecated and the network field should be used instead
|
||||
**/
|
||||
*/
|
||||
bool testnet = 10 [deprecated = true];
|
||||
|
||||
reserved 11;
|
||||
|
||||
// A list of active chains the node is connected to
|
||||
repeated Chain chains = 16;
|
||||
/*
|
||||
Deprecated. The only active chain is bitcoin.
|
||||
A list of active chains the node is connected to
|
||||
*/
|
||||
repeated Chain chains = 16 [deprecated = true];
|
||||
|
||||
// The URIs of the current node.
|
||||
repeated string uris = 12;
|
||||
@ -1950,8 +1969,9 @@ message GetRecoveryInfoResponse {
|
||||
}
|
||||
|
||||
message Chain {
|
||||
// The blockchain the node is on (eg bitcoin, litecoin)
|
||||
string chain = 1;
|
||||
// Deprecated. The chain is now always assumed to be bitcoin.
|
||||
// The blockchain the node is on (must be bitcoin)
|
||||
string chain = 1 [deprecated = true];
|
||||
|
||||
// The network the node is on (eg regtest, testnet, mainnet)
|
||||
string network = 2;
|
||||
@ -2119,6 +2139,76 @@ message BatchOpenChannel {
|
||||
the remote peer supports explicit channel negotiation.
|
||||
*/
|
||||
CommitmentType commitment_type = 9;
|
||||
|
||||
/*
|
||||
The maximum amount of coins in millisatoshi that can be pending within
|
||||
the channel. It only applies to the remote party.
|
||||
*/
|
||||
uint64 remote_max_value_in_flight_msat = 10;
|
||||
|
||||
/*
|
||||
The maximum number of concurrent HTLCs we will allow the remote party to add
|
||||
to the commitment transaction.
|
||||
*/
|
||||
uint32 remote_max_htlcs = 11;
|
||||
|
||||
/*
|
||||
Max local csv is the maximum csv delay we will allow for our own commitment
|
||||
transaction.
|
||||
*/
|
||||
uint32 max_local_csv = 12;
|
||||
|
||||
/*
|
||||
If this is true, then a zero-conf channel open will be attempted.
|
||||
*/
|
||||
bool zero_conf = 13;
|
||||
|
||||
/*
|
||||
If this is true, then an option-scid-alias channel-type open will be
|
||||
attempted.
|
||||
*/
|
||||
bool scid_alias = 14;
|
||||
|
||||
/*
|
||||
The base fee charged regardless of the number of milli-satoshis sent.
|
||||
*/
|
||||
uint64 base_fee = 15;
|
||||
|
||||
/*
|
||||
The fee rate in ppm (parts per million) that will be charged in
|
||||
proportion of the value of each forwarded HTLC.
|
||||
*/
|
||||
uint64 fee_rate = 16;
|
||||
|
||||
/*
|
||||
If use_base_fee is true the open channel announcement will update the
|
||||
channel base fee with the value specified in base_fee. In the case of
|
||||
a base_fee of 0 use_base_fee is needed downstream to distinguish whether
|
||||
to use the default base fee value specified in the config or 0.
|
||||
*/
|
||||
bool use_base_fee = 17;
|
||||
|
||||
/*
|
||||
If use_fee_rate is true the open channel announcement will update the
|
||||
channel fee rate with the value specified in fee_rate. In the case of
|
||||
a fee_rate of 0 use_fee_rate is needed downstream to distinguish whether
|
||||
to use the default fee rate value specified in the config or 0.
|
||||
*/
|
||||
bool use_fee_rate = 18;
|
||||
|
||||
/*
|
||||
The number of satoshis we require the remote peer to reserve. This value,
|
||||
if specified, must be above the dust limit and below 20% of the channel
|
||||
capacity.
|
||||
*/
|
||||
uint64 remote_chan_reserve_sat = 19;
|
||||
|
||||
/*
|
||||
An optional note-to-self to go along with the channel containing some
|
||||
useful information. This is only ever stored locally and in no way impacts
|
||||
the channel's operation.
|
||||
*/
|
||||
string memo = 20;
|
||||
}
|
||||
|
||||
message BatchOpenChannelResponse {
|
||||
@ -2274,6 +2364,18 @@ message OpenChannelRequest {
|
||||
be zero and is ignored.
|
||||
*/
|
||||
bool fund_max = 26;
|
||||
|
||||
/*
|
||||
An optional note-to-self to go along with the channel containing some
|
||||
useful information. This is only ever stored locally and in no way impacts
|
||||
the channel's operation.
|
||||
*/
|
||||
string memo = 27;
|
||||
|
||||
/*
|
||||
A list of selected outpoints that are allocated for channel funding.
|
||||
*/
|
||||
repeated OutPoint outpoints = 28;
|
||||
}
|
||||
message OpenStatusUpdate {
|
||||
oneof update {
|
||||
@ -2355,6 +2457,11 @@ message ChanPointShim {
|
||||
the value is less than 500,000, or as an absolute height otherwise.
|
||||
*/
|
||||
uint32 thaw_height = 6;
|
||||
|
||||
/*
|
||||
Indicates that the funding output is using a MuSig2 multi-sig output.
|
||||
*/
|
||||
bool musig2 = 7;
|
||||
}
|
||||
|
||||
message PsbtShim {
|
||||
@ -2540,6 +2647,13 @@ message PendingChannelsResponse {
|
||||
|
||||
// Whether this channel is advertised to the network or not.
|
||||
bool private = 12;
|
||||
|
||||
/*
|
||||
An optional note-to-self to go along with the channel containing some
|
||||
useful information. This is only ever stored locally and in no way
|
||||
impacts the channel's operation.
|
||||
*/
|
||||
string memo = 13;
|
||||
}
|
||||
|
||||
message PendingOpenChannel {
|
||||
@ -2567,6 +2681,17 @@ message PendingChannelsResponse {
|
||||
|
||||
// Previously used for confirmation_height. Do not reuse.
|
||||
reserved 2;
|
||||
|
||||
// The number of blocks until the funding transaction is considered
|
||||
// expired. If this value gets close to zero, there is a risk that the
|
||||
// channel funding will be canceled by the channel responder. The
|
||||
// channel should be fee bumped using CPFP (see walletrpc.BumpFee) to
|
||||
// ensure that the channel confirms in time. Otherwise a force-close
|
||||
// will be necessary if the channel confirms after the funding
|
||||
// transaction expires. A negative value means the channel responder has
|
||||
// very likely canceled the funding and the channel will never become
|
||||
// fully operational.
|
||||
int32 funding_expiry_blocks = 3;
|
||||
}
|
||||
|
||||
message WaitingCloseChannel {
|
||||
@ -2719,6 +2844,9 @@ message WalletAccountBalance {
|
||||
}
|
||||
|
||||
message WalletBalanceRequest {
|
||||
// The wallet account the balance is shown for.
|
||||
// If this is not specified, the balance of the "default" account is shown.
|
||||
string account = 1;
|
||||
}
|
||||
|
||||
message WalletBalanceResponse {
|
||||
@ -2804,6 +2932,9 @@ message QueryRoutesRequest {
|
||||
not add any additional block padding on top of final_ctlv_delta. This
|
||||
padding of a few blocks needs to be added manually or otherwise failures may
|
||||
happen when a block comes in while the payment is in flight.
|
||||
|
||||
Note: must not be set if making a payment to a blinded path (delta is
|
||||
set by the aggregate parameters provided by blinded_payment_paths)
|
||||
*/
|
||||
int32 final_cltv_delta = 4;
|
||||
|
||||
@ -2877,12 +3008,21 @@ message QueryRoutesRequest {
|
||||
*/
|
||||
repeated lnrpc.RouteHint route_hints = 16;
|
||||
|
||||
/*
|
||||
An optional blinded path(s) to reach the destination. Note that the
|
||||
introduction node must be provided as the first hop in the route.
|
||||
*/
|
||||
repeated BlindedPaymentPath blinded_payment_paths = 19;
|
||||
|
||||
/*
|
||||
Features assumed to be supported by the final node. All transitive feature
|
||||
dependencies must also be set properly. For a given feature bit pair, either
|
||||
optional or remote may be set, but not both. If this field is nil or empty,
|
||||
the router will try to load destination features from the graph as a
|
||||
fallback.
|
||||
|
||||
Note: must not be set if making a payment to a blinded route (features
|
||||
are provided in blinded_payment_paths).
|
||||
*/
|
||||
repeated lnrpc.FeatureBit dest_features = 17;
|
||||
|
||||
@ -2988,6 +3128,32 @@ message Hop {
|
||||
|
||||
// The payment metadata to send along with the payment to the payee.
|
||||
bytes metadata = 13;
|
||||
|
||||
/*
|
||||
Blinding point is an optional blinding point included for introduction
|
||||
nodes in blinded paths. This field is mandatory for hops that represents
|
||||
the introduction point in a blinded path.
|
||||
*/
|
||||
bytes blinding_point = 14;
|
||||
|
||||
/*
|
||||
Encrypted data is a receiver-produced blob of data that provides hops
|
||||
in a blinded route with forwarding data. As this data is encrypted by
|
||||
the recipient, we will not be able to parse it - it is essentially an
|
||||
arbitrary blob of data from our node's perspective. This field is
|
||||
mandatory for all hops in a blinded path, including the introduction
|
||||
node.
|
||||
*/
|
||||
bytes encrypted_data = 15;
|
||||
|
||||
/*
|
||||
The total amount that is sent to the recipient (possibly across multiple
|
||||
HTLCs), as specified by the sender when making a payment to a blinded path.
|
||||
This value is only set in the final hop payload of a blinded payment. This
|
||||
value is analogous to the MPPRecord that is used for regular (non-blinded)
|
||||
MPP payments.
|
||||
*/
|
||||
uint64 total_amt_msat = 16;
|
||||
}
|
||||
|
||||
message MPPRecord {
|
||||
@ -3333,6 +3499,61 @@ message RouteHint {
|
||||
repeated HopHint hop_hints = 1;
|
||||
}
|
||||
|
||||
message BlindedPaymentPath {
|
||||
// The blinded path to send the payment to.
|
||||
BlindedPath blinded_path = 1;
|
||||
|
||||
// The base fee for the blinded path provided, expressed in msat.
|
||||
uint64 base_fee_msat = 2;
|
||||
|
||||
// The proportional fee for the blinded path provided, expressed in msat.
|
||||
uint64 proportional_fee_msat = 3;
|
||||
|
||||
/*
|
||||
The total CLTV delta for the blinded path provided, including the
|
||||
final CLTV delta for the receiving node.
|
||||
*/
|
||||
uint32 total_cltv_delta = 4;
|
||||
|
||||
/*
|
||||
The minimum hltc size that may be sent over the blinded path, expressed
|
||||
in msat.
|
||||
*/
|
||||
uint64 htlc_min_msat = 5;
|
||||
|
||||
/*
|
||||
The maximum htlc size that may be sent over the blinded path, expressed
|
||||
in msat.
|
||||
*/
|
||||
uint64 htlc_max_msat = 6;
|
||||
|
||||
// The feature bits for the route.
|
||||
repeated FeatureBit features = 7;
|
||||
}
|
||||
|
||||
message BlindedPath {
|
||||
// The unblinded pubkey of the introduction node for the route.
|
||||
bytes introduction_node = 1;
|
||||
|
||||
// The ephemeral pubkey used by nodes in the blinded route.
|
||||
bytes blinding_point = 2;
|
||||
|
||||
/*
|
||||
A set of blinded node keys and data blobs for the blinded portion of the
|
||||
route. Note that the first hop is expected to be the introduction node,
|
||||
so the route is always expected to have at least one hop.
|
||||
*/
|
||||
repeated BlindedHop blinded_hops = 3;
|
||||
}
|
||||
|
||||
message BlindedHop {
|
||||
// The blinded public key of the node.
|
||||
bytes blinded_node = 1;
|
||||
|
||||
// An encrypted blob of data provided to the blinded node.
|
||||
bytes encrypted_data = 2;
|
||||
}
|
||||
|
||||
message AMPInvoiceState {
|
||||
// The state the HTLCs associated with this setID are in.
|
||||
InvoiceHTLCState state = 1;
|
||||
@ -3466,22 +3687,22 @@ message Invoice {
|
||||
|
||||
/*
|
||||
The amount that was accepted for this invoice, in satoshis. This will ONLY
|
||||
be set if this invoice has been settled. We provide this field as if the
|
||||
invoice was created with a zero value, then we need to record what amount
|
||||
was ultimately accepted. Additionally, it's possible that the sender paid
|
||||
MORE that was specified in the original invoice. So we'll record that here
|
||||
as well.
|
||||
be set if this invoice has been settled or accepted. We provide this field
|
||||
as if the invoice was created with a zero value, then we need to record what
|
||||
amount was ultimately accepted. Additionally, it's possible that the sender
|
||||
paid MORE that was specified in the original invoice. So we'll record that
|
||||
here as well.
|
||||
Note: Output only, don't specify for creating an invoice.
|
||||
*/
|
||||
int64 amt_paid_sat = 19;
|
||||
|
||||
/*
|
||||
The amount that was accepted for this invoice, in millisatoshis. This will
|
||||
ONLY be set if this invoice has been settled. We provide this field as if
|
||||
the invoice was created with a zero value, then we need to record what
|
||||
amount was ultimately accepted. Additionally, it's possible that the sender
|
||||
paid MORE that was specified in the original invoice. So we'll record that
|
||||
here as well.
|
||||
ONLY be set if this invoice has been settled or accepted. We provide this
|
||||
field as if the invoice was created with a zero value, then we need to
|
||||
record what amount was ultimately accepted. Additionally, it's possible that
|
||||
the sender paid MORE that was specified in the original invoice. So we'll
|
||||
record that here as well.
|
||||
Note: Output only, don't specify for creating an invoice.
|
||||
*/
|
||||
int64 amt_paid_msat = 20;
|
||||
@ -3779,10 +4000,20 @@ message Payment {
|
||||
string payment_request = 9;
|
||||
|
||||
enum PaymentStatus {
|
||||
UNKNOWN = 0;
|
||||
// Deprecated. This status will never be returned.
|
||||
UNKNOWN = 0 [deprecated = true];
|
||||
|
||||
// Payment has inflight HTLCs.
|
||||
IN_FLIGHT = 1;
|
||||
|
||||
// Payment is settled.
|
||||
SUCCEEDED = 2;
|
||||
|
||||
// Payment is failed.
|
||||
FAILED = 3;
|
||||
|
||||
// Payment is created and has not attempted any HTLCs.
|
||||
INITIATED = 4;
|
||||
}
|
||||
|
||||
// The status of the payment.
|
||||
|
File diff suppressed because one or more lines are too long
@ -497,8 +497,10 @@ class LightningServicer(object):
|
||||
|
||||
def VerifyMessage(self, request, context):
|
||||
"""lncli: `verifymessage`
|
||||
VerifyMessage verifies a signature over a msg. The signature must be
|
||||
zbase32 encoded and signed by an active node in the resident node's
|
||||
VerifyMessage verifies a signature over a message and recovers the signer's
|
||||
public key. The signature is only deemed valid if the recovered public key
|
||||
corresponds to a node key in the public Lightning network. The signature
|
||||
must be zbase32 encoded and signed by an active node in the resident node's
|
||||
channel database. In addition to returning the validity of the signature,
|
||||
VerifyMessage also returns the recovered pubkey from the signature.
|
||||
"""
|
||||
|
@ -2,48 +2,44 @@
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: walletunlocker.proto
|
||||
"""Generated protocol buffer code."""
|
||||
from google.protobuf.internal import builder as _builder
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import descriptor_pool as _descriptor_pool
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
from google.protobuf.internal import builder as _builder
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from . import lightning_pb2 as lightning__pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14walletunlocker.proto\x12\x05lnrpc\x1a\x0flightning.proto\"A\n\x0eGenSeedRequest\x12\x19\n\x11\x61\x65zeed_passphrase\x18\x01 \x01(\x0c\x12\x14\n\x0cseed_entropy\x18\x02 \x01(\x0c\"H\n\x0fGenSeedResponse\x12\x1c\n\x14\x63ipher_seed_mnemonic\x18\x01 \x03(\t\x12\x17\n\x0f\x65nciphered_seed\x18\x02 \x01(\x0c\"\xd8\x02\n\x11InitWalletRequest\x12\x17\n\x0fwallet_password\x18\x01 \x01(\x0c\x12\x1c\n\x14\x63ipher_seed_mnemonic\x18\x02 \x03(\t\x12\x19\n\x11\x61\x65zeed_passphrase\x18\x03 \x01(\x0c\x12\x17\n\x0frecovery_window\x18\x04 \x01(\x05\x12\x32\n\x0f\x63hannel_backups\x18\x05 \x01(\x0b\x32\x19.lnrpc.ChanBackupSnapshot\x12\x16\n\x0estateless_init\x18\x06 \x01(\x08\x12\x1b\n\x13\x65xtended_master_key\x18\x07 \x01(\t\x12.\n&extended_master_key_birthday_timestamp\x18\x08 \x01(\x04\x12$\n\nwatch_only\x18\t \x01(\x0b\x32\x10.lnrpc.WatchOnly\x12\x19\n\x11macaroon_root_key\x18\n \x01(\x0c\",\n\x12InitWalletResponse\x12\x16\n\x0e\x61\x64min_macaroon\x18\x01 \x01(\x0c\"}\n\tWatchOnly\x12%\n\x1dmaster_key_birthday_timestamp\x18\x01 \x01(\x04\x12\x1e\n\x16master_key_fingerprint\x18\x02 \x01(\x0c\x12)\n\x08\x61\x63\x63ounts\x18\x03 \x03(\x0b\x32\x17.lnrpc.WatchOnlyAccount\"U\n\x10WatchOnlyAccount\x12\x0f\n\x07purpose\x18\x01 \x01(\r\x12\x11\n\tcoin_type\x18\x02 \x01(\r\x12\x0f\n\x07\x61\x63\x63ount\x18\x03 \x01(\r\x12\x0c\n\x04xpub\x18\x04 \x01(\t\"\x93\x01\n\x13UnlockWalletRequest\x12\x17\n\x0fwallet_password\x18\x01 \x01(\x0c\x12\x17\n\x0frecovery_window\x18\x02 \x01(\x05\x12\x32\n\x0f\x63hannel_backups\x18\x03 \x01(\x0b\x32\x19.lnrpc.ChanBackupSnapshot\x12\x16\n\x0estateless_init\x18\x04 \x01(\x08\"\x16\n\x14UnlockWalletResponse\"~\n\x15\x43hangePasswordRequest\x12\x18\n\x10\x63urrent_password\x18\x01 \x01(\x0c\x12\x14\n\x0cnew_password\x18\x02 \x01(\x0c\x12\x16\n\x0estateless_init\x18\x03 \x01(\x08\x12\x1d\n\x15new_macaroon_root_key\x18\x04 \x01(\x08\"0\n\x16\x43hangePasswordResponse\x12\x16\n\x0e\x61\x64min_macaroon\x18\x01 \x01(\x0c\x32\xa5\x02\n\x0eWalletUnlocker\x12\x38\n\x07GenSeed\x12\x15.lnrpc.GenSeedRequest\x1a\x16.lnrpc.GenSeedResponse\x12\x41\n\nInitWallet\x12\x18.lnrpc.InitWalletRequest\x1a\x19.lnrpc.InitWalletResponse\x12G\n\x0cUnlockWallet\x12\x1a.lnrpc.UnlockWalletRequest\x1a\x1b.lnrpc.UnlockWalletResponse\x12M\n\x0e\x43hangePassword\x12\x1c.lnrpc.ChangePasswordRequest\x1a\x1d.lnrpc.ChangePasswordResponseB\'Z%github.com/lightningnetwork/lnd/lnrpcb\x06proto3')
|
||||
|
||||
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
||||
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'walletunlocker_pb2', globals())
|
||||
_globals = globals()
|
||||
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
||||
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'walletunlocker_pb2', _globals)
|
||||
if _descriptor._USE_C_DESCRIPTORS == False:
|
||||
|
||||
DESCRIPTOR._options = None
|
||||
DESCRIPTOR._serialized_options = b'Z%github.com/lightningnetwork/lnd/lnrpc'
|
||||
_GENSEEDREQUEST._serialized_start=48
|
||||
_GENSEEDREQUEST._serialized_end=113
|
||||
_GENSEEDRESPONSE._serialized_start=115
|
||||
_GENSEEDRESPONSE._serialized_end=187
|
||||
_INITWALLETREQUEST._serialized_start=190
|
||||
_INITWALLETREQUEST._serialized_end=534
|
||||
_INITWALLETRESPONSE._serialized_start=536
|
||||
_INITWALLETRESPONSE._serialized_end=580
|
||||
_WATCHONLY._serialized_start=582
|
||||
_WATCHONLY._serialized_end=707
|
||||
_WATCHONLYACCOUNT._serialized_start=709
|
||||
_WATCHONLYACCOUNT._serialized_end=794
|
||||
_UNLOCKWALLETREQUEST._serialized_start=797
|
||||
_UNLOCKWALLETREQUEST._serialized_end=944
|
||||
_UNLOCKWALLETRESPONSE._serialized_start=946
|
||||
_UNLOCKWALLETRESPONSE._serialized_end=968
|
||||
_CHANGEPASSWORDREQUEST._serialized_start=970
|
||||
_CHANGEPASSWORDREQUEST._serialized_end=1096
|
||||
_CHANGEPASSWORDRESPONSE._serialized_start=1098
|
||||
_CHANGEPASSWORDRESPONSE._serialized_end=1146
|
||||
_WALLETUNLOCKER._serialized_start=1149
|
||||
_WALLETUNLOCKER._serialized_end=1442
|
||||
_globals['_GENSEEDREQUEST']._serialized_start=48
|
||||
_globals['_GENSEEDREQUEST']._serialized_end=113
|
||||
_globals['_GENSEEDRESPONSE']._serialized_start=115
|
||||
_globals['_GENSEEDRESPONSE']._serialized_end=187
|
||||
_globals['_INITWALLETREQUEST']._serialized_start=190
|
||||
_globals['_INITWALLETREQUEST']._serialized_end=534
|
||||
_globals['_INITWALLETRESPONSE']._serialized_start=536
|
||||
_globals['_INITWALLETRESPONSE']._serialized_end=580
|
||||
_globals['_WATCHONLY']._serialized_start=582
|
||||
_globals['_WATCHONLY']._serialized_end=707
|
||||
_globals['_WATCHONLYACCOUNT']._serialized_start=709
|
||||
_globals['_WATCHONLYACCOUNT']._serialized_end=794
|
||||
_globals['_UNLOCKWALLETREQUEST']._serialized_start=797
|
||||
_globals['_UNLOCKWALLETREQUEST']._serialized_end=944
|
||||
_globals['_UNLOCKWALLETRESPONSE']._serialized_start=946
|
||||
_globals['_UNLOCKWALLETRESPONSE']._serialized_end=968
|
||||
_globals['_CHANGEPASSWORDREQUEST']._serialized_start=970
|
||||
_globals['_CHANGEPASSWORDREQUEST']._serialized_end=1096
|
||||
_globals['_CHANGEPASSWORDRESPONSE']._serialized_start=1098
|
||||
_globals['_CHANGEPASSWORDRESPONSE']._serialized_end=1146
|
||||
_globals['_WALLETUNLOCKER']._serialized_start=1149
|
||||
_globals['_WALLETUNLOCKER']._serialized_end=1442
|
||||
# @@protoc_insertion_point(module_scope)
|
||||
|
Loading…
Reference in New Issue
Block a user