Pregled bibliografske jedinice broj: 1206035
Analysis of the Impact of the Collateral Funds in Payment Channel Networks
Analysis of the Impact of the Collateral Funds in Payment Channel Networks, 2022., diplomski rad, diplomski, Fakultet elektrotehnike i računarstva, Zagreb
CROSBI ID: 1206035 Za ispravke kontaktirajte CROSBI podršku putem web obrasca
Naslov
Analysis of the Impact of the Collateral Funds in
Payment Channel Networks
Autori
Ereš, Ana Marija
Vrsta, podvrsta i kategorija rada
Ocjenski radovi, diplomski rad, diplomski
Fakultet
Fakultet elektrotehnike i računarstva
Mjesto
Zagreb
Datum
06.07
Godina
2022
Stranica
87
Mentor
Bagić Babac, Marina ; Moreno-Sanchez, Pedro
Ključne riječi
Lightning Network, LN, HTLC, payment channel network, PCN , Blitz, finite state machine
Sažetak
Payment channel networks (PCN) are the most widely deployed solution implemented to tackle the scalability issues of blockchain-based cryptocurrencies such as Bitcoin. Lightning network is a second layer payment protocol built on top of a blockchain with an objective to reduce the number of on-chain transactions by allowing off-chain transactions. Off-chain transactions are usually in the form of multi-hop payments (MHPs) between two users that are connected through a path of payment channels. The Hash Time-lock Contract (HTLC) based payment protocol is the protocol used in the Lightning Network to enable multi-hop payments. A recently proposed protocol called Blitz offers a different approach that promises, among other things, higher success rate than the currently used HTLC-based payment protocol in the LN. In this work, I implement a payment channel network simulator which emulates how transactions propagate in a PCN depending on the protocol used. Using the simulator, I conduct experiments to empirically compare the success rate of both protocols Blitz and HTLC-based payment protocol. To evaluate the success rate on a micro-level, I design a finite state machine for each protocol that models the behaviour of one channel in the PCN. I empirically study success rate of protocols using designed state machines. Finally, I design an algorithm that predicts the bounds for the number of failed transaction in PCN, which depends on the protocol specific feature. This feature is the duration of funds being locked in the PCN during transaction processing. In HTLC-based payment protocol the collateral funds are locked for linear time, depending on the number of intermediaries on the payment path, while in Blitz the collateral funds are locked for constant time. Therefore, algorithm expresses the correlation between the number of failures in the PCN and the duration of collateral funds being locked in the channel.
Izvorni jezik
Engleski
Znanstvena područja
Računarstvo
POVEZANOST RADA
Ustanove:
Fakultet elektrotehnike i računarstva, Zagreb
Profili:
Marina Bagić Babac
(mentor)