A Balanced Routing Algorithm for Blockchain Offline Channels using Flocking
1. Subhasis Thakur and John Breslin
Data Science Institute
National University of Ireland Galway
A balanced routing
algorithm for blockchain
offline channels using
flocking
2. -
- SFI Research Centre
- Precision pasture-based
dairying (agtech)
- Blockchain applications
in the dairy supply chain
2
25. 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
26. 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
))
28. 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
32. 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