SlideShare a Scribd company logo
Subhasis Thakur and John Breslin
Data Science Institute
National University of Ireland Galway
A balanced routing
algorithm for blockchain
offline channels using
flocking
-
- SFI Research Centre
- Precision pasture-based
dairying (agtech)
- Blockchain applications
in the dairy supply chain
2
Scalability problem
3
Offline channels
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Load balancing
problem in the
Lightning Network
20
Privacy-preserved
load balancing
problem
How can we ensure uniform
usage of channels without
revealing channel balances?
Flocking-based routing21
https://commons.wikimedia.org/wiki/File:S
ort_sol_pdfnet2.jpg (Public Domain)
Step 1: Convert channels to nodes of a network
Step 2: Assign coordinates to each channel
22
(Vj
,Vb
)
Flocking of channels
1. A set of channels
moves away from each
other if used in a PBT
2. The set of mirrored
channels moves close
to each other
23
24
Flocking of channels
Zone of Repulsion
Zone of Alignment
Zone of Attraction
Angle of the channel
Coordinate of each channel
is in positive numbers
Hence, the angle of each
channel is in the range
[0,90]
25
Coordinate updating
26
Angle1
= 180 degrees + mean angle of the channels in the
repulsion zone (opposite of channels in the repulsion zone)
Angle2
= Mean angle of the channels in the alignment zone
Xi
= Xi
+ 0.2(Cos(Angle1
) + Cos(Angle2
))
Yi
= Yi
+ 0.2(Sin(Angle1
) + Sin(Angle2
))
Routing protocol
27
● Updated coordinates are regularly announced
● Routing as per the shortest path
28
Bitcoin Lightning Network
Data used = three subgraphs of BLN
# of
nodes
Average
degree
Average
channel
balance
(simu-
lated)
Average
PBT
value
(simu-
lated)
400,
600,
800
11 7 0.5
Network with 400
nodes
The standard deviation of
channels remain low for
balanced routing
29
Network with 600
nodes
The standard deviation of
channels remain low for
balanced routing
30
Network with 800
nodes
The standard deviation of
channels remain low for
balanced routing
31
The number of completed
PBTs for balanced routing
is higher than the same for
shortest path routing
Average path length for
PBTs is lower for balanced
routing
32
33
Thank you:
any questions?
subhasis.thakur@nuigalway.ie
john.breslin@nuigalway.ie

More Related Content

PDF
"A big data approach for investigating the performance of road infrastructure...
PDF
"Using truck sensors for road pavement performance investigation" presented a...
PDF
Designing Sustainable Supply Chains - Amar Ramudhin, University of Hull
PPTX
EMV path routing
PDF
OHB_System_SmallGEO_2015
PPTX
Investigating Time-of-Use as a Factor in Dynamic Wireless Charging Infrastruc...
PDF
Working in synergy with neighbouring countries to seamlessly transport coal o...
"A big data approach for investigating the performance of road infrastructure...
"Using truck sensors for road pavement performance investigation" presented a...
Designing Sustainable Supply Chains - Amar Ramudhin, University of Hull
EMV path routing
OHB_System_SmallGEO_2015
Investigating Time-of-Use as a Factor in Dynamic Wireless Charging Infrastruc...
Working in synergy with neighbouring countries to seamlessly transport coal o...

What's hot (12)

PPTX
Cooperative load balancing and dynamic channel allocation for cluster based m...
DOCX
Cooperative load balancing and dynamic channel allocation for cluster based m...
PDF
Defining public transport routes for tod 8 october 2013 daisy dwango
PDF
Vermont Power Import Alternatives
PDF
Adding capacity on the Steel Railway - Railway Gazette International
PDF
Cooperative load balancing and dynamic
PPTX
Mta impact analysis
PPT
Using Workbench & FME Server to Validate Storm Water Network Collection
PDF
Key findings from the Baltic Scope project on preconditions for building cohe...
PPTX
Mta impact analysis1
PPTX
Sky x Technology (Pranav)
PDF
Creating a Hydrological Network for the Yukon Territory
Cooperative load balancing and dynamic channel allocation for cluster based m...
Cooperative load balancing and dynamic channel allocation for cluster based m...
Defining public transport routes for tod 8 october 2013 daisy dwango
Vermont Power Import Alternatives
Adding capacity on the Steel Railway - Railway Gazette International
Cooperative load balancing and dynamic
Mta impact analysis
Using Workbench & FME Server to Validate Storm Water Network Collection
Key findings from the Baltic Scope project on preconditions for building cohe...
Mta impact analysis1
Sky x Technology (Pranav)
Creating a Hydrological Network for the Yukon Territory
Ad

More from John Breslin (20)

PDF
Ireland: Island of Innovation and Entrepreneurship
PDF
Old Ireland in Colour
PDF
Collusion Attack from Hubs in the Blockchain Offline Channel Network
PDF
Collaborative Leadership to Increase the Northern & Western Region’s Innovati...
PDF
TRICS: Teaching Researchers and Innovators how to Create Startups
PDF
Entrepreneurship is in Our DNA
PDF
Galway City Innovation District
PDF
Innovation Districts and Innovation Hubs
PDF
Disciplined mHealth Entrepreneurship
PDF
Searching for Startups
PPTX
Intellectual Property: Protecting Ideas, Designs and Brands in the Real World...
PDF
Innovation and Entrepreneurship: Tips, Tools and Tricks
PDF
Growing Galway's Startup Community
PDF
Startup Community: What Galway Can Do Next
PDF
Adding More Semantics to the Social Web
PDF
Communities and Tech: Build Which and What Will Come?
PDF
Data Analytics and Industry-Academic Partnerships: An Irish Perspective
PPT
“I Like” - Analysing Interactions within Social Networks to Assert the Trustw...
PPT
John Breslin at the Innovation Academy
PDF
Engaging Citizens in Research and Innovation: Opportunities and Challenges Af...
Ireland: Island of Innovation and Entrepreneurship
Old Ireland in Colour
Collusion Attack from Hubs in the Blockchain Offline Channel Network
Collaborative Leadership to Increase the Northern & Western Region’s Innovati...
TRICS: Teaching Researchers and Innovators how to Create Startups
Entrepreneurship is in Our DNA
Galway City Innovation District
Innovation Districts and Innovation Hubs
Disciplined mHealth Entrepreneurship
Searching for Startups
Intellectual Property: Protecting Ideas, Designs and Brands in the Real World...
Innovation and Entrepreneurship: Tips, Tools and Tricks
Growing Galway's Startup Community
Startup Community: What Galway Can Do Next
Adding More Semantics to the Social Web
Communities and Tech: Build Which and What Will Come?
Data Analytics and Industry-Academic Partnerships: An Irish Perspective
“I Like” - Analysing Interactions within Social Networks to Assert the Trustw...
John Breslin at the Innovation Academy
Engaging Citizens in Research and Innovation: Opportunities and Challenges Af...
Ad

Recently uploaded (20)

PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
master seminar digital applications in india
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
RMMM.pdf make it easy to upload and study
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Anesthesia in Laparoscopic Surgery in India
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
O5-L3 Freight Transport Ops (International) V1.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Module 4: Burden of Disease Tutorial Slides S2 2025
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Institutional Correction lecture only . . .
master seminar digital applications in india
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Cell Types and Its function , kingdom of life
Microbial diseases, their pathogenesis and prophylaxis
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
RMMM.pdf make it easy to upload and study
Final Presentation General Medicine 03-08-2024.pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx

A Balanced Routing Algorithm for Blockchain Offline Channels using Flocking