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 – Methods to compute the anticipated variety of sats to reach in a probabilistic fee stream?

by Crypto Twigs
March 3, 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


Take a look at the next community instance:

enter image description here

Assume S desires to ship 3 sats to R. You possibly can additional assume that S has sufficient liquidity in every of its native channels to ship as much as 3 sats. Additionally assume the liquidity in channels (A,R), (B,R) and (C,R) is uniformly distributed.

one optimally dependable fee stream on this diagram seems to be like this:

1 sat: S --> A --> R   likelihood: 2/3
2 sats: S --> B --> R  likelihood: 3/5

This stream has a complete likelihood of 2/3*3/5 = 2/5 = 0.4 = 40%

The query:

Methods to compute the anticipated worth of Satoshis to reach at R if S sends 3?

Possibility A

(which I already know is improper however I write it down as a result of I believe some individuals may need the same first thought)

Initially I believed this may simply be 3 sats * 2/5 = 6/5 sats = 1.2 sats which is what one will get from multiplying the quantity to ship with the likelihood of the stream. This appears unusual as sending 2 sats alongside S-->B-->R has a likelihood of 3/5 and with the reasoning of above an expectation worth of 2 sats * 3/5 = 6/5 sats = 1.2 sats. because the anticipated worth for 1 sat alongside the S-->A-->B path is bigger than 0 this may be a contradiction to the additivity of the anticipated worth.

Possibility B

Ranging from the above reasoning we add the anticipated values for the disjoint paths so:

E[3 sats] = 1 sat * 2/3 + 2 sat * 3/5 = 10/15 sats + 18/15 sats = 28/15 sats

Possibility C

In fact the two satoshi path S-->B-->R doesn’t should be despatched as one onion however might be despatched as two onions with 1 sat every:

The primary has a likelihood of 4/5 and the second has a conditional likelihood of 3/4 which is extensively defined at this situation. With the logic from choice B one ought to have the ability to add these anticipated values.
so we have now the anticipated worth for sending two sats in two seperate 1 sat onions alongside S--> B --> R can be computed as:

E[2 sats] = 1 sat * 4/5 + 1 sat * 3/4 = 31/20 sats 

If we add the 1 sat onion from the S-->A-->R which was 2/3 sats

we might anticipate to have

E[3 sats] = 31/20 sats + 2/3 sats = 93/60 sats + 40/60 sats = 132/60 sats = 33/15 sats

That is 5/15 sats = 1/3 sats greater than the reply in choice B

Possibility D

To make issues worse I’m confused if the anticipated values of dissecting the two sat onion in choice C into two 1 sat onions can simply linearly added up because the second onion is conditioned on having 2 sats of liquidity within the channel. If the primary onion has failed the second will definitely fail. Thus one must compute anticipated worth for sending two 1 sat onions like this:

E[2 sats] = 1 sat * 4/5 + 1 sat * 3/5 = 7/5 sats

this may lead to a complete anticipated worth of:

E[3 sats] = 2/3 sats + 7/5 sats = 10/30 sats + 21/15 sats = 31/15 sats

Ideas

only for comparability listed below are the outcomes

  • Possibility A: 18/15
  • Possibility B: 28/15
  • Possibility C: 33/15
  • Possibility D: 31/15

Whereas Possibility B appears actually proper it is sensible to additional dissect the two sats onion. In simulations I did it appears that evidently Possibility D is right which is a bit shocking for me. Utilizing the formalism of likelihood idea the distinction for the two sat path is:

  • Possibility C: E[2 sats] = 1 sat * P(X>=1) + 1 sat * P(X>=2 | X >= 1)
  • Possibility D: E[2 sats] = 1 sat * P(X>=1) + 1 sat * P(X>=2)

As mentioned the simulated setting signifies that Possibility D is the right reply however that’s extremely shocking to me as I’d anticipate the second time period to be a conditional probabilty.



Source_link

Related articles

Bitcoin Nation El Salvador’s New Invoice Affords Tax Breaks For Tech Innovation

Bitcoin Nation El Salvador’s New Invoice Affords Tax Breaks For Tech Innovation

April 1, 2023
Bitcoin Seashore Pockets Renamed To Blink In Addition To Modifications Aimed At Making The App World

Bitcoin Seashore Pockets Renamed To Blink In Addition To Modifications Aimed At Making The App World

April 1, 2023
Share76Tweet47

Related Posts

Bitcoin Nation El Salvador’s New Invoice Affords Tax Breaks For Tech Innovation

Bitcoin Nation El Salvador’s New Invoice Affords Tax Breaks For Tech Innovation

by Crypto Twigs
April 1, 2023
0

The favored crypto-friendly nation El Salvador has taken an enormous step to enhance financial progress through expertise. It not too...

Bitcoin Seashore Pockets Renamed To Blink In Addition To Modifications Aimed At Making The App World

Bitcoin Seashore Pockets Renamed To Blink In Addition To Modifications Aimed At Making The App World

by Crypto Twigs
April 1, 2023
0

Blink’s identify and options mirror the undertaking’s want for use by Bitcoin communities the world over.The Bitcoin Seashore Pockets has...

Disney Reportedly Axing Metaverse Division Amidst Firm Restructuring – Metaverse Bitcoin Information

Disney Reportedly Axing Metaverse Division Amidst Firm Restructuring – Metaverse Bitcoin Information

by Crypto Twigs
April 1, 2023
0

The metaverse division of Disney has apparently fallen sufferer to the most recent spherical of layoffs introduced by the corporate....

NFT Artist Mason Rothschild Talks About MetaBirkins Undertaking

NFT Artist Mason Rothschild Talks About MetaBirkins Undertaking

by Crypto Twigs
April 1, 2023
0

The favored NFT artist Mason Rothschild talked in regards to the MetaBirkins venture. This venture attracted the eye of a...

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?

bitcoin core – lnd Command not discovered after putting in from supply

by Crypto Twigs
March 31, 2023
0

I need to run a lightning node. I have already got bitcoin full node on a raspberry pi 4 exterior...

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
Kaspa (KAS) Has Tied with Ethereum Basic (ETC) Amongst HiveOS Miners

Kaspa (KAS) Has Tied with Ethereum Basic (ETC) Amongst HiveOS Miners

April 1, 2023
Bittrex Exits U.S. Market Amid Regulatory Points

Bittrex Exits U.S. Market Amid Regulatory Points

April 1, 2023
Bitcoin Nation El Salvador’s New Invoice Affords Tax Breaks For Tech Innovation

Bitcoin Nation El Salvador’s New Invoice Affords Tax Breaks For Tech Innovation

April 1, 2023
Vitalik Buterin reveals main problem for Ethereum’s future – and the right way to remedy it

Vitalik Buterin reveals main problem for Ethereum’s future – and the right way to remedy it

April 1, 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

  • Kaspa (KAS) Has Tied with Ethereum Basic (ETC) Amongst HiveOS Miners
  • Bittrex Exits U.S. Market Amid Regulatory Points

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%