Crypto Twigs
  • Home
  • Latest News
    • Cryptocurrency
    • Bitcoin
    • Crypto Mining
    • DEFI
    • Ethereum
    • Metaverse
    • NFT’s
    • Regulation
  • Market Cap List
  • Mining
  • Trading
  • YouTube
No Result
View All Result
  • Home
  • Latest News
    • Cryptocurrency
    • Bitcoin
    • Crypto Mining
    • DEFI
    • Ethereum
    • Metaverse
    • NFT’s
    • Regulation
  • Market Cap List
  • Mining
  • Trading
  • YouTube
No Result
View All Result
Crypto Twigs
No Result
View All Result
Home Bitcoin

lightning community – The place does the max_htlc_msat subject within the getchaninfo outcomes come from?

by Crypto Twigs
January 15, 2023
in Bitcoin
0
pockets – Bitcoin Alternate solely sends funds to P2PKH and P2SH addresses, however my handle is Bech32. What can I do to get that fund into my account?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


Utilizing an arbitrarily chosen channel, the getchaninfo command returns a json object like this:

$ lncli getchaninfo 848897743567126529
{
    "channel_id": "848897743567126529",
    "chan_point": "e39544821899c05499ed1c3271b6668aea90246bfe181b72d20463a6579496f4:1",
    "last_update": 1673788833,
    "node1_pub": "025407ac7bd16419f4ae9e7827665c031323184514618c390278ec4a2708d3558f",
    "node2_pub": "03e865ea04a93245a0685e9dd5280514a9ff0d9162c3c3c004efab2636631229ef",
    "capability": "5000000",
    "node1_policy": {
        "time_lock_delta": 34,
        "min_htlc": "1",
        "fee_base_msat": "0",
        "fee_rate_milli_msat": "842",
        "disabled": false,
        "max_htlc_msat": "4950000000",
        "last_update": 1673788833
    },
    "node2_policy": {
        "time_lock_delta": 40,
        "min_htlc": "1000",
        "fee_base_msat": "1000",
        "fee_rate_milli_msat": "300",
        "disabled": false,
        "max_htlc_msat": "5000000000",
        "last_update": 1673788419
    }
}

Excluding the disabled and last_update fields, there are 5 different fields which can be particular to every node within the channel. It seems like 4 of those parameters are set from settings in lnd.conf as follows:

  • time_lock_delta = bitcoin.timelockdelta
  • min_htlc = bitcoin.minhtlc
  • fee_base_msat = bitcoin.basefee
  • fee_rate_milli_msat = bitcoin.feerate

However what about max_htlc_msat? I do not see something within the lnd.conf documentation that appears prefer it could possibly be that subject.

I believed it is likely to be set on the time of opening the channel, however in trying on the assist for the openchannel command, I do not see something that appears like it might be max_htlc_msat.

$ lncli assist openchannel
NAME:
   lncli openchannel - Open a channel to a node or an current peer.

USAGE:
   lncli openchannel [command options] node-key local-amt push-amt

CATEGORY:
   Channels

DESCRIPTION:
   
  Try and open a brand new channel to an current peer with the important thing node-key
  optionally blocking till the channel is 'open'.

  One also can hook up with a node earlier than opening a brand new channel to it by
  setting its host:port by way of the --connect argument. For this to work,
  the node_key should be offered, somewhat than the peer_id. That is non-obligatory.

  The channel can be initialized with local-amt satoshis native and push-amt
  satoshis for the distant node. Word that specifying push-amt means you give that
  quantity to the distant node as a part of the channel opening. As soon as the channel is open,
  a channelPoint (txid:vout) of the funding output is returned.

  If the distant peer helps the choice upfront shutdown function bit (question
  listpeers to see their supported function bits), an deal with to implement
  payout of funds on cooperative shut can optionally be offered. Word that
  for those who set this worth, you won't be able to cooperatively shut out to
  one other deal with.

  One can manually set the charge for use for the funding transaction by way of both
  the --conf_target or --sat_per_vbyte arguments. That is non-obligatory.

OPTIONS:
   --node_key worth                         the identification public key of the goal node/peer serialized in compressed format
   --connect worth                          (non-obligatory) the host:port of the goal node
   --local_amt worth                        the variety of satoshis the pockets ought to decide to the channel (default: 0)
   --push_amt worth                         the variety of satoshis to offer the distant aspect as a part of the preliminary dedication state, that is equal to first opening a channel and sending the distant get together funds, however finished multi function step (default: 0)
   --block                                  block and wait till the channel is absolutely open
   --conf_target worth                      (non-obligatory) the variety of blocks that the transaction *ought to* verify in, can be used for charge estimation (default: 0)
   --sat_per_vbyte worth                    (non-obligatory) a guide charge expressed in sat/vbyte that must be used when crafting the transaction (default: 0)
   --private                                make the channel personal, such that it will not be introduced to the higher community, and nodes apart from the 2 channel endpoints should be explicitly instructed about it to have the ability to route by means of it
   --min_htlc_msat worth                    (non-obligatory) the minimal worth we would require for incoming HTLCs on the channel (default: 0)
   --remote_csv_delay worth                 (non-obligatory) the variety of blocks we would require our channel counterparty to attend earlier than accessing its funds in case of unilateral shut. If this isn't set, we'll scale the worth in accordance with the channel dimension (default: 0)
   --max_local_csv worth                    (non-obligatory) the utmost variety of blocks that we are going to enable the distant peer to require we wait earlier than accessing our funds within the case of a unilateral shut. (default: 0)
   --min_confs worth                        (non-obligatory) the minimal variety of confirmations every one among your outputs used for the funding transaction should fulfill (default: 1)
   --close_address worth                    (non-obligatory) an deal with to implement payout of our funds to on cooperative shut. Word that if this worth is about on channel open, you'll *not* be capable of cooperatively near a special deal with.
   --psbt                                   begin an interactive mode that initiates funding by means of {a partially} signed bitcoin transaction (PSBT), permitting the channel funds to be added and signed from a {hardware} or different offline system.
   --base_psbt worth                        when utilizing the interactive PSBT mode to open a brand new channel, use this base64 encoded PSBT as a base and add the brand new channel output to it as a substitute of making a brand new, empty one.
   --no_publish                             when utilizing the interactive PSBT mode to open a number of channels in a batch, this flag instructs lnd to not publish the total batch transaction simply but. For security causes this flag must be set for every of the batch's transactions besides the final
   --remote_max_value_in_flight_msat worth  (non-obligatory) the utmost worth in msat that may be pending inside the channel at any given time (default: 0)
   --channel_type worth                     (non-obligatory) the kind of channel to suggest to the distant peer ("tweakless", "anchors")
   --zero_conf                              (non-obligatory) whether or not a zero-conf channel open must be tried.
   --scid_alias                             (non-obligatory) whether or not a scid-alias channel kind must be negotiated.

The openchannel command features a min_htlc_msat parameter, however no max_htlc_msat parameter. So the place does that worth come from?



Source_link

Related articles

Find out how to Purchase Crypto in Retirement Accounts

Find out how to Purchase Crypto in Retirement Accounts

January 30, 2023
pockets – Bitcoin Alternate solely sends funds to P2PKH and P2SH addresses, however my handle is Bech32. What can I do to get that fund into my account?

script – Why CHECKMULTISIG bug cannot be solved?

January 30, 2023
Share76Tweet47

Related Posts

Find out how to Purchase Crypto in Retirement Accounts

Find out how to Purchase Crypto in Retirement Accounts

by Crypto Twigs
January 30, 2023
0

Cryptocurrency has taken the investing world by storm, providing a method for merchants to diversify their portfolios and probably benefit...

pockets – Bitcoin Alternate solely sends funds to P2PKH and P2SH addresses, however my handle is Bech32. What can I do to get that fund into my account?

script – Why CHECKMULTISIG bug cannot be solved?

by Crypto Twigs
January 30, 2023
0

I used to be studying Mastering Bitcoin and I examine a bug in CHECKMULTISIG. If the beginning concepts of this...

SOL Worth Prediction: Solana is up 156%, SOL Would possibly Be Set to Make One other Set of Millionaires

SOL Worth Prediction: Solana is up 156%, SOL Would possibly Be Set to Make One other Set of Millionaires

by Crypto Twigs
January 30, 2023
0

Be a part of Our Telegram channel to remain updated on breaking information protection Buyers and merchants have been rallying...

Information Reveals 50% Of Bitcoin Hashrate Managed By Two Mining Swimming pools

Information Reveals 50% Of Bitcoin Hashrate Managed By Two Mining Swimming pools

by Crypto Twigs
January 30, 2023
0

Bitcoin hashrate is changing into extremely centralized, with a couple of mining swimming pools controlling a lot of the blockchain...

Fantom (FTM) Good points 39% In 7 Days Following its Integration With Axelar Community

Fantom (FTM) Good points 39% In 7 Days Following its Integration With Axelar Community

by Crypto Twigs
January 29, 2023
0

Fantom (FTM) has been one of many best-performing tokens of 2023, pulling off a sequence of spectacular good points in...

Load More
  • Trending
  • Comments
  • Latest
Crypto intel platform Metrika provides help for Hedera community

Crypto intel platform Metrika provides help for Hedera community

September 4, 2022
Ukrainian start-up Preply provides first ever language classes in Metaverse – FE Information

Ukrainian start-up Preply provides first ever language classes in Metaverse – FE Information

July 20, 2022
Vayner3 has teamed up with Cheetos and Meta Horizons World to unveil Chesterville™ | NFT CULTURE | Web3 Tradition NFTs & Crypto Artwork

Vayner3 has teamed up with Cheetos and Meta Horizons World to unveil Chesterville™ | NFT CULTURE | Web3 Tradition NFTs & Crypto Artwork

October 19, 2022
Must you spend money on drinks NFTs?

Must you spend money on drinks NFTs?

August 9, 2022
Benefits Of Utilizing Bitcoin For Deposits

Benefits Of Utilizing Bitcoin For Deposits

0
Welcome to Serenity X’s. – Ethereum Worth Canada: Ethereum & crypto costs, and information

Welcome to Serenity X’s. – Ethereum Worth Canada: Ethereum & crypto costs, and information

0
Singapore Considers Imposing New Restrictions on Crypto Buying and selling – Regulation Bitcoin Information

Singapore Considers Imposing New Restrictions on Crypto Buying and selling – Regulation Bitcoin Information

0
Argentina Runs to Stablecoins Amidst Political and Financial Uncertainty – Economics Bitcoin Information

Argentina Runs to Stablecoins Amidst Political and Financial Uncertainty – Economics Bitcoin Information

0
Avalanche Park x Ed Balloon Sequence Highlights NFT Musicians

Avalanche Park x Ed Balloon Sequence Highlights NFT Musicians

January 31, 2023
Founders Workshop launches new Metaverse merchandise division

Founders Workshop launches new Metaverse merchandise division

January 31, 2023
Ought to blockchain tasks care about enterprise fashions?

Ought to blockchain tasks care about enterprise fashions?

January 30, 2023
Crypto 101: What’s the blockchain trilemma?

Crypto 101: What’s the blockchain trilemma?

January 30, 2023

Welcome to Crypto Twigs. Our goal is to provide an accurate selection of the best crypto news of the moment to all the crypto lovers in the world!

Categories tes

  • Bitcoin
  • Crypto Mining
  • Cryptocurrency
  • DEFI
  • Ethereum
  • Metaverse
  • NFT's
  • Regulation

Recent Posts

  • Avalanche Park x Ed Balloon Sequence Highlights NFT Musicians
  • Founders Workshop launches new Metaverse merchandise division

Site Links

  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions

Copyright © 2022 CryptoTwigs.com. All Rights Reserved.

No Result
View All Result
  • Home
  • Latest News
    • Cryptocurrency
    • Bitcoin
    • Crypto Mining
    • DEFI
    • Ethereum
    • Metaverse
    • NFT’s
    • Regulation
  • Market Cap List
  • Mining
  • Trading
  • YouTube

© 2018 JNews by Jegtheme.

What Are Cookies
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT
  • bitcoinBitcoin(BTC)$17,212.842.35%
  • ethereumEthereum(ETH)$1,284.684.57%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$289.682.11%
  • usd-coinUSD Coin(USDC)$1.000.05%
  • binance-usdBinance USD(BUSD)$1.000.03%
  • rippleXRP(XRP)$0.3926311.76%
  • dogecoinDogecoin(DOGE)$0.0983092.09%
  • cardanoCardano(ADA)$0.3146941.80%
  • matic-networkPolygon(MATIC)$0.933.99%