cuboid 0.0.5 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +13 -13
- data/lib/cuboid/application.rb +10 -10
- data/lib/cuboid/option_groups/{dispatcher.rb → agent.rb} +9 -9
- data/lib/cuboid/option_groups/paths.rb +1 -1
- data/lib/cuboid/options.rb +1 -1
- data/lib/cuboid/processes/{dispatchers.rb → agents.rb} +25 -25
- data/lib/cuboid/processes/executables/agent.rb +5 -0
- data/lib/cuboid/processes/helpers/agents.rb +23 -0
- data/lib/cuboid/processes/helpers/instances.rb +4 -4
- data/lib/cuboid/processes/helpers.rb +1 -1
- data/lib/cuboid/processes/instances.rb +9 -9
- data/lib/cuboid/processes/schedulers.rb +2 -2
- data/lib/cuboid/processes.rb +2 -2
- data/lib/cuboid/rest/server/instance_helpers.rb +13 -13
- data/lib/cuboid/rest/server/routes/dispatcher.rb +11 -11
- data/lib/cuboid/rest/server/routes/grid.rb +8 -8
- data/lib/cuboid/rest/server/routes/instances.rb +1 -1
- data/lib/cuboid/rest/server.rb +5 -5
- data/lib/cuboid/rpc/client/{dispatcher.rb → agent.rb} +4 -4
- data/lib/cuboid/rpc/client/instance.rb +2 -2
- data/lib/cuboid/rpc/client.rb +1 -1
- data/lib/cuboid/rpc/server/agent/node.rb +247 -0
- data/lib/cuboid/rpc/server/{dispatcher → agent}/service.rb +13 -13
- data/lib/cuboid/rpc/server/{dispatcher.rb → agent.rb} +32 -31
- data/lib/cuboid/rpc/server/application_wrapper.rb +1 -1
- data/lib/cuboid/rpc/server/instance.rb +4 -4
- data/lib/cuboid/rpc/server/scheduler.rb +12 -12
- data/lib/version +1 -1
- data/spec/cuboid/option_groups/dispatcher_spec.rb +2 -2
- data/spec/cuboid/rest/server_spec.rb +45 -45
- data/spec/cuboid/rpc/client/dispatcher_spec.rb +2 -2
- data/spec/cuboid/rpc/server/dispatcher/node_spec.rb +65 -65
- data/spec/cuboid/rpc/server/dispatcher/service_spec.rb +16 -16
- data/spec/cuboid/rpc/server/dispatcher_spec.rb +95 -95
- data/spec/cuboid/rpc/server/scheduler_spec.rb +8 -8
- data/spec/support/fixtures/executables/node.rb +3 -3
- data/spec/support/fixtures/mock_app/test_service.rb +8 -8
- data/spec/support/fixtures/mock_app.rb +1 -1
- data/spec/support/fixtures/services/echo.rb +6 -6
- data/spec/support/helpers/resets.rb +1 -1
- data/spec/support/lib/web_server_client.rb +2 -2
- data/spec/support/lib/web_server_dispatcher.rb +1 -1
- metadata +10 -348
- data/lib/cuboid/processes/executables/dispatcher.rb +0 -5
- data/lib/cuboid/processes/helpers/dispatchers.rb +0 -23
- data/lib/cuboid/rpc/server/dispatcher/node.rb +0 -247
- data/spec/support/logs/Dispatcher - 1520492-37227.log +0 -6
- data/spec/support/logs/Dispatcher - 1520680-13689.log +0 -6
- data/spec/support/logs/Dispatcher - 1520682-24167.log +0 -6
- data/spec/support/logs/Dispatcher - 1520688-42731.log +0 -6
- data/spec/support/logs/Dispatcher - 1520690-5750.log +0 -10
- data/spec/support/logs/Dispatcher - 1520692-55183.log +0 -10
- data/spec/support/logs/Dispatcher - 1520695-39752.log +0 -10
- data/spec/support/logs/Dispatcher - 1520697-44327.log +0 -10
- data/spec/support/logs/Dispatcher - 1520699-58785.log +0 -10
- data/spec/support/logs/Dispatcher - 1520701-60952.log +0 -10
- data/spec/support/logs/Dispatcher - 1520796-50420.log +0 -6
- data/spec/support/logs/Dispatcher - 1520894-56883.log +0 -6
- data/spec/support/logs/Dispatcher - 1520896-21419.log +0 -6
- data/spec/support/logs/Dispatcher - 1520898-62584.log +0 -6
- data/spec/support/logs/Dispatcher - 1520900-59721.log +0 -6
- data/spec/support/logs/Dispatcher - 1520910-51632.log +0 -6
- data/spec/support/logs/Dispatcher - 1520920-21801.log +0 -6
- data/spec/support/logs/Dispatcher - 1520930-49223.log +0 -6
- data/spec/support/logs/Dispatcher - 1520933-34241.log +0 -6
- data/spec/support/logs/Dispatcher - 1520935-64571.log +0 -6
- data/spec/support/logs/Dispatcher - 1520937-50734.log +0 -6
- data/spec/support/logs/Dispatcher - 1520939-60841.log +0 -6
- data/spec/support/logs/Dispatcher - 1520944-8124.log +0 -6
- data/spec/support/logs/Dispatcher - 1520946-25192.log +0 -16
- data/spec/support/logs/Dispatcher - 1520948-9752.log +0 -14
- data/spec/support/logs/Dispatcher - 1520952-45543.log +0 -10
- data/spec/support/logs/Dispatcher - 1520958-36653.log +0 -16
- data/spec/support/logs/Dispatcher - 1520960-17456.log +0 -14
- data/spec/support/logs/Dispatcher - 1520964-5774.log +0 -10
- data/spec/support/logs/Dispatcher - 1520976-40848.log +0 -16
- data/spec/support/logs/Dispatcher - 1520978-29867.log +0 -14
- data/spec/support/logs/Dispatcher - 1520982-17715.log +0 -10
- data/spec/support/logs/Dispatcher - 1520987-8925.log +0 -16
- data/spec/support/logs/Dispatcher - 1520989-25480.log +0 -14
- data/spec/support/logs/Dispatcher - 1520993-5124.log +0 -10
- data/spec/support/logs/Dispatcher - 1520999-12901.log +0 -16
- data/spec/support/logs/Dispatcher - 1521004-32265.log +0 -14
- data/spec/support/logs/Dispatcher - 1521008-33455.log +0 -10
- data/spec/support/logs/Dispatcher - 1521014-13779.log +0 -6
- data/spec/support/logs/Dispatcher - 1521017-14755.log +0 -6
- data/spec/support/logs/Dispatcher - 1521022-48687.log +0 -6
- data/spec/support/logs/Dispatcher - 1521024-59097.log +0 -6
- data/spec/support/logs/Dispatcher - 1521034-12604.log +0 -6
- data/spec/support/logs/Dispatcher - 1521038-64272.log +0 -6
- data/spec/support/logs/Dispatcher - 1521043-8680.log +0 -6
- data/spec/support/logs/Dispatcher - 1521047-22949.log +0 -6
- data/spec/support/logs/Dispatcher - 1521051-3355.log +0 -6
- data/spec/support/logs/Dispatcher - 1521074-12332.log +0 -6
- data/spec/support/logs/Dispatcher - 1521118-53130.log +0 -16
- data/spec/support/logs/Dispatcher - 1521128-47137.log +0 -14
- data/spec/support/logs/Dispatcher - 1521136-30328.log +0 -10
- data/spec/support/logs/Dispatcher - 1521161-21329.log +0 -16
- data/spec/support/logs/Dispatcher - 1521172-19183.log +0 -14
- data/spec/support/logs/Dispatcher - 1521179-34902.log +0 -10
- data/spec/support/logs/Dispatcher - 1521190-20155.log +0 -16
- data/spec/support/logs/Dispatcher - 1521204-43843.log +0 -14
- data/spec/support/logs/Dispatcher - 1521211-23972.log +0 -10
- data/spec/support/logs/Dispatcher - 1521237-20879.log +0 -10
- data/spec/support/logs/Dispatcher - 1521239-61999.log +0 -10
- data/spec/support/logs/Dispatcher - 1521242-20975.log +0 -16
- data/spec/support/logs/Dispatcher - 1521246-28409.log +0 -14
- data/spec/support/logs/Dispatcher - 1521250-58505.log +0 -10
- data/spec/support/logs/Dispatcher - 1521262-53292.log +0 -6
- data/spec/support/logs/Dispatcher - 1521266-42758.log +0 -6
- data/spec/support/logs/Dispatcher - 1521277-4215.log +0 -6
- data/spec/support/logs/Dispatcher - 1521292-16086.log +0 -6
- data/spec/support/logs/Dispatcher - 1521301-42112.log +0 -6
- data/spec/support/logs/Dispatcher - 1521312-61196.log +0 -6
- data/spec/support/logs/Dispatcher - 1521316-23353.log +0 -6
- data/spec/support/logs/Dispatcher - 1521321-46361.log +0 -6
- data/spec/support/logs/Dispatcher - 1521438-46016.log +0 -6
- data/spec/support/logs/Dispatcher - 1521454-49862.log +0 -6
- data/spec/support/logs/Dispatcher - 1521470-54737.log +0 -6
- data/spec/support/logs/Instance - 1521353-26273.error.log +0 -105
- data/spec/support/logs/Instance - 1521355-56591.error.log +0 -105
- data/spec/support/logs/Instance - 1521363-26218.error.log +0 -105
- data/spec/support/logs/Scheduler - 1520469-35703.log +0 -3
- data/spec/support/logs/Scheduler - 1520473-60524.log +0 -6
- data/spec/support/logs/Scheduler - 1520509-34951.log +0 -3
- data/spec/support/logs/Scheduler - 1520517-31455.log +0 -6
- data/spec/support/logs/Scheduler - 1520529-43808.log +0 -4
- data/spec/support/logs/Scheduler - 1520536-23387.log +0 -1
- data/spec/support/logs/Scheduler - 1520549-48260.log +0 -3
- data/spec/support/logs/Scheduler - 1520563-45636.log +0 -6
- data/spec/support/logs/Scheduler - 1520599-40643.log +0 -3
- data/spec/support/logs/Scheduler - 1520608-54106.log +0 -6
- data/spec/support/logs/Scheduler - 1520629-24722.log +0 -3
- data/spec/support/logs/Scheduler - 1520637-61755.log +0 -6
- data/spec/support/logs/Scheduler - 1520663-17447.log +0 -4
- data/spec/support/logs/Scheduler - 1520671-38282.log +0 -6
- data/spec/support/logs/Scheduler - 1520703-33082.log +0 -1
- data/spec/support/logs/Scheduler - 1520706-22309.log +0 -1
- data/spec/support/logs/Scheduler - 1520709-1816.log +0 -1
- data/spec/support/logs/Scheduler - 1520711-19998.log +0 -1
- data/spec/support/logs/Scheduler - 1520714-47570.log +0 -1
- data/spec/support/logs/Scheduler - 1520723-18521.log +0 -1
- data/spec/support/logs/Scheduler - 1520725-40913.log +0 -3
- data/spec/support/logs/Scheduler - 1520749-45742.log +0 -6
- data/spec/support/logs/Scheduler - 1520759-44350.log +0 -4
- data/spec/support/logs/Scheduler - 1520770-53219.log +0 -1
- data/spec/support/logs/Scheduler - 1520773-54792.log +0 -1
- data/spec/support/logs/Scheduler - 1520777-19636.log +0 -1
- data/spec/support/logs/Scheduler - 1520780-51801.log +0 -1
- data/spec/support/logs/Scheduler - 1520782-9652.log +0 -3
- data/spec/support/logs/Scheduler - 1520786-59472.log +0 -1
- data/spec/support/logs/Scheduler - 1520789-1603.log +0 -1
- data/spec/support/logs/Scheduler - 1520792-35476.log +0 -1
- data/spec/support/logs/Scheduler - 1521410-47324.log +0 -16
- data/spec/support/logs/Scheduler - 1521422-33737.log +0 -6
- data/spec/support/logs/Scheduler - 1521433-36637.log +0 -6
- data/spec/support/logs/Scheduler - 1521440-15066.log +0 -6
- data/spec/support/logs/Scheduler - 1521456-48637.log +0 -3
- data/spec/support/logs/Scheduler - 1521472-54425.log +0 -5
- data/spec/support/logs/Scheduler - 1521496-12923.log +0 -1
- data/spec/support/logs/Scheduler - 1521518-46819.log +0 -1
- data/spec/support/logs/Scheduler - 1521522-21417.log +0 -1
- data/spec/support/logs/Scheduler - 1521525-35088.log +0 -1
- data/spec/support/logs/Scheduler - 1521528-13676.log +0 -1
- data/spec/support/logs/Scheduler - 1521530-48176.log +0 -1
- data/spec/support/logs/Scheduler - 1521532-13207.log +0 -1
- data/spec/support/logs/Scheduler - 1521535-5799.log +0 -3
- data/spec/support/logs/Scheduler - 1521543-62784.log +0 -3
- data/spec/support/logs/Scheduler - 1521551-10263.log +0 -3
- data/spec/support/logs/Scheduler - 1521556-56026.log +0 -3
- data/spec/support/logs/Scheduler - 1521560-14551.log +0 -4
- data/spec/support/logs/Scheduler - 1521573-47584.log +0 -1
- data/spec/support/logs/Scheduler - 1521578-14443.log +0 -4
- data/spec/support/logs/Scheduler - 1521580-60337.log +0 -1
- data/spec/support/logs/Scheduler - 1521583-52039.log +0 -1
- data/spec/support/logs/Scheduler - 1521586-1500.log +0 -16
- data/spec/support/logs/Scheduler - 1521598-61298.log +0 -4
- data/spec/support/logs/Scheduler - 1521602-61490.log +0 -1
- data/spec/support/logs/Scheduler - 1521604-29209.log +0 -1
- data/spec/support/logs/Scheduler - 1521606-47734.log +0 -1
- data/spec/support/logs/Scheduler - 1521612-63269.log +0 -1
- data/spec/support/logs/Scheduler - 1521614-47018.log +0 -3
- data/spec/support/logs/Scheduler - 1521619-32411.log +0 -1
- data/spec/support/logs/Scheduler - 1521621-42861.log +0 -1
- data/spec/support/logs/Scheduler - 1521623-56258.log +0 -1
- data/spec/support/logs/Scheduler - 1521627-9487.log +0 -1
- data/spec/support/logs/Scheduler - 1521630-3345.log +0 -1
- data/spec/support/logs/Scheduler - 1521632-47325.log +0 -1
- data/spec/support/logs/Scheduler - 1521635-22156.log +0 -2
- data/spec/support/logs/error-1520329.log +0 -797
- data/spec/support/logs/output_spec_1520329.log +0 -390
- data/spec/support/reports/003bed585153336c2548d1c60a026a3e.crf +0 -0
- data/spec/support/reports/30e3c7a8c13e9b40a0a443a5e5a4ff94.crf +0 -0
- data/spec/support/reports/31655751a9f0eee91e588bc796985b1e.crf +0 -0
- data/spec/support/reports/40801b7993c0ed919b73242a9c078dde.crf +0 -0
- data/spec/support/reports/4719b89667e92bb80102f4b0bb4c0c75.crf +0 -0
- data/spec/support/reports/4e765a3d2870d2763ea72167bd3db9d6.crf +0 -0
- data/spec/support/reports/61968f732d8ae715c104175e43679915.crf +0 -0
- data/spec/support/reports/63446a8ec637d9991b8c6a1151ae59a9.crf +0 -0
- data/spec/support/reports/737144b18305c7a115ad7964b9bbe41c.crf +0 -0
- data/spec/support/reports/73fe5f7adf905045c3fe4669bdf60d02.crf +0 -0
- data/spec/support/reports/86cd396db9ef97472876f32e57c44ce7.crf +0 -0
- data/spec/support/reports/8a031ac2b2730dfd07a1d1ca870299f2.crf +0 -0
- data/spec/support/reports/8e16ac74484ee5d8cf7073fe22adf787.crf +0 -0
- data/spec/support/reports/8eff857213ab6ff712a0b0e8582855c9.crf +0 -0
- data/spec/support/reports/9e0e6ed8718973b3d4e63bbb7dd1d1c6.crf +0 -0
- data/spec/support/reports/a9c88f967d09cb9c4e8e1180cfb24828.crf +0 -0
- data/spec/support/reports/ba32970a64686e45ec8caa5032f65c2e.crf +0 -0
- data/spec/support/reports/cceb7596659fd619ab4438953cbda78b.crf +0 -0
- data/spec/support/reports/d2e0f4558b605ffd1215e9226815b951.crf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-24 14_38_16 +0200 8238609e31cedaf1bcb89205f9d42121.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-24 14_38_30 +0200 68690b002e79c7bc9e3aabfcbc7ac5a7.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-24 14_46_39 +0200 6fd3c9491d3e784e18f9c3c0d9deddec.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-24 14_46_44 +0200 c3a012fba59210bc7c169afb0565d5a8.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-24 14_46_46 +0200 e4c1ce35d8e62e6a16f84eccd36b2283.csf +0 -0
@@ -1,247 +0,0 @@
|
|
1
|
-
module Cuboid
|
2
|
-
|
3
|
-
require Options.paths.lib + 'rpc/server/output'
|
4
|
-
|
5
|
-
module RPC
|
6
|
-
|
7
|
-
# Dispatcher node class, helps maintain a list of all available Dispatchers in
|
8
|
-
# the grid and announce itself to neighbouring Dispatchers.
|
9
|
-
#
|
10
|
-
# As soon as a new Node is fired up it checks-in with its neighbour and grabs
|
11
|
-
# a list of all available peers.
|
12
|
-
#
|
13
|
-
# As soon as it receives the peer list it then announces itself to them.
|
14
|
-
#
|
15
|
-
# Upon convergence there will be a grid of Dispatchers each one with its own
|
16
|
-
# copy of all available Dispatcher URLs.
|
17
|
-
#
|
18
|
-
# @author Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
|
19
|
-
class Server::Dispatcher::Node
|
20
|
-
include UI::Output
|
21
|
-
|
22
|
-
# Initializes the node by:
|
23
|
-
#
|
24
|
-
# * Adding the neighbour (if the user has supplied one) to the peer list.
|
25
|
-
# * Getting the neighbour's peer list and appending them to its own.
|
26
|
-
# * Announces itself to the neighbour and instructs it to propagate our URL
|
27
|
-
# to the others.
|
28
|
-
#
|
29
|
-
# @param [Cuboid::Options] options
|
30
|
-
# @param [Server::Base] server
|
31
|
-
# Dispatcher's RPC server.
|
32
|
-
# @param [String] logfile
|
33
|
-
# Where to send the output.
|
34
|
-
def initialize( options, server, logfile = nil )
|
35
|
-
@options = options
|
36
|
-
@server = server
|
37
|
-
@url = @server.url
|
38
|
-
|
39
|
-
reroute_to_file( logfile ) if logfile
|
40
|
-
|
41
|
-
print_status 'Initializing grid node...'
|
42
|
-
|
43
|
-
@dead_nodes = Set.new
|
44
|
-
@neighbours = Set.new
|
45
|
-
@nodes_info_cache = []
|
46
|
-
|
47
|
-
if (neighbour = @options.dispatcher.neighbour)
|
48
|
-
# Grab the neighbour's neighbours.
|
49
|
-
connect_to_peer( neighbour ).neighbours do |urls|
|
50
|
-
if urls.rpc_exception?
|
51
|
-
add_dead_neighbour( neighbour )
|
52
|
-
print_info "Neighbour seems dead: #{neighbour}"
|
53
|
-
add_dead_neighbour( neighbour )
|
54
|
-
next
|
55
|
-
end
|
56
|
-
|
57
|
-
# Add neighbour and announce it to everyone.
|
58
|
-
add_neighbour( neighbour, true )
|
59
|
-
|
60
|
-
urls.each { |url| @neighbours << url if url != @url }
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
print_status 'Node ready.'
|
65
|
-
|
66
|
-
log_updated_neighbours
|
67
|
-
|
68
|
-
Arachni::Reactor.global.at_interval( @options.dispatcher.ping_interval ) do
|
69
|
-
ping
|
70
|
-
check_for_comebacks
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
# @return [Boolean]
|
75
|
-
# `true` if grid member, `false` otherwise.
|
76
|
-
def grid_member?
|
77
|
-
@neighbours.any?
|
78
|
-
end
|
79
|
-
|
80
|
-
def unplug
|
81
|
-
@neighbours.each do |peer|
|
82
|
-
connect_to_peer( peer ).remove_neighbour( @url ) {}
|
83
|
-
end
|
84
|
-
|
85
|
-
@neighbours.clear
|
86
|
-
@dead_nodes.clear
|
87
|
-
|
88
|
-
nil
|
89
|
-
end
|
90
|
-
|
91
|
-
# Adds a neighbour to the peer list.
|
92
|
-
#
|
93
|
-
# @param [String] node_url
|
94
|
-
# URL of a neighbouring node.
|
95
|
-
# @param [Boolean] propagate
|
96
|
-
# Whether or not to announce the new node to the peers.
|
97
|
-
def add_neighbour( node_url, propagate = false )
|
98
|
-
# we don't want ourselves in the Set
|
99
|
-
return false if node_url == @url
|
100
|
-
return false if @neighbours.include?( node_url )
|
101
|
-
|
102
|
-
print_status "Adding neighbour: #{node_url}"
|
103
|
-
|
104
|
-
@neighbours << node_url
|
105
|
-
log_updated_neighbours
|
106
|
-
announce( node_url ) if propagate
|
107
|
-
|
108
|
-
connect_to_peer( node_url ).add_neighbour( @url, propagate ) do |res|
|
109
|
-
next if !res.rpc_exception?
|
110
|
-
add_dead_neighbour( node_url )
|
111
|
-
print_status "Neighbour seems dead: #{node_url}"
|
112
|
-
end
|
113
|
-
true
|
114
|
-
end
|
115
|
-
|
116
|
-
def remove_neighbour( url )
|
117
|
-
@neighbours.delete url
|
118
|
-
@dead_nodes.delete url
|
119
|
-
nil
|
120
|
-
end
|
121
|
-
|
122
|
-
# @return [Array]
|
123
|
-
# Neighbour/node/peer URLs.
|
124
|
-
def neighbours
|
125
|
-
@neighbours.to_a
|
126
|
-
end
|
127
|
-
|
128
|
-
def neighbours_with_info( &block )
|
129
|
-
fail 'This method requires a block!' if !block_given?
|
130
|
-
|
131
|
-
@neighbours_cmp = ''
|
132
|
-
|
133
|
-
if @nodes_info_cache.empty? || @neighbours_cmp != neighbours.to_s
|
134
|
-
@neighbours_cmp = neighbours.to_s
|
135
|
-
|
136
|
-
each = proc do |neighbour, iter|
|
137
|
-
connect_to_peer( neighbour ).info do |info|
|
138
|
-
if info.rpc_exception?
|
139
|
-
print_info "Neighbour seems dead: #{neighbour}"
|
140
|
-
add_dead_neighbour( neighbour )
|
141
|
-
log_updated_neighbours
|
142
|
-
|
143
|
-
iter.return( nil )
|
144
|
-
else
|
145
|
-
iter.return( info )
|
146
|
-
end
|
147
|
-
end
|
148
|
-
end
|
149
|
-
|
150
|
-
after = proc do |nodes|
|
151
|
-
@nodes_info_cache = nodes.compact
|
152
|
-
block.call( @nodes_info_cache )
|
153
|
-
end
|
154
|
-
|
155
|
-
Arachni::Reactor.global.create_iterator( neighbours ).map( each, after )
|
156
|
-
else
|
157
|
-
block.call( @nodes_info_cache )
|
158
|
-
end
|
159
|
-
end
|
160
|
-
|
161
|
-
# @return [Hash]
|
162
|
-
#
|
163
|
-
# * `url` -- This node's URL.
|
164
|
-
# * `name` -- Nickname
|
165
|
-
# * `neighbours` -- Array of neighbours.
|
166
|
-
def info
|
167
|
-
{
|
168
|
-
'url' => @url,
|
169
|
-
'name' => @options.dispatcher.name,
|
170
|
-
'neighbours' => @neighbours.to_a,
|
171
|
-
'unreachable_neighbours' => @dead_nodes.to_a
|
172
|
-
}
|
173
|
-
end
|
174
|
-
|
175
|
-
def alive?
|
176
|
-
true
|
177
|
-
end
|
178
|
-
|
179
|
-
private
|
180
|
-
|
181
|
-
def add_dead_neighbour( url )
|
182
|
-
remove_neighbour( url )
|
183
|
-
@dead_nodes << url
|
184
|
-
end
|
185
|
-
|
186
|
-
def log_updated_neighbours
|
187
|
-
print_info 'Updated neighbours:'
|
188
|
-
|
189
|
-
if !neighbours.empty?
|
190
|
-
neighbours.each { |node| print_info( '---- ' + node ) }
|
191
|
-
else
|
192
|
-
print_info '<empty>'
|
193
|
-
end
|
194
|
-
end
|
195
|
-
|
196
|
-
def ping
|
197
|
-
neighbours.each do |neighbour|
|
198
|
-
connect_to_peer( neighbour ).alive? do |res|
|
199
|
-
next if !res.rpc_exception?
|
200
|
-
add_dead_neighbour( neighbour )
|
201
|
-
print_status "Found dead neighbour: #{neighbour} "
|
202
|
-
end
|
203
|
-
end
|
204
|
-
end
|
205
|
-
|
206
|
-
def check_for_comebacks
|
207
|
-
@dead_nodes.dup.each do |url|
|
208
|
-
neighbour = connect_to_peer( url )
|
209
|
-
neighbour.alive? do |res|
|
210
|
-
next if res.rpc_exception?
|
211
|
-
|
212
|
-
print_status "Dispatcher came back to life: #{url}"
|
213
|
-
([@url] | neighbours).each do |node|
|
214
|
-
neighbour.add_neighbour( node ){}
|
215
|
-
end
|
216
|
-
|
217
|
-
add_neighbour( url )
|
218
|
-
@dead_nodes.delete url
|
219
|
-
end
|
220
|
-
end
|
221
|
-
end
|
222
|
-
|
223
|
-
# Announces the node to the ones in the peer list
|
224
|
-
#
|
225
|
-
# @param [String] node
|
226
|
-
# URL
|
227
|
-
def announce( node )
|
228
|
-
print_status "Advertising: #{node}"
|
229
|
-
|
230
|
-
neighbours.each do |peer|
|
231
|
-
next if peer == node
|
232
|
-
|
233
|
-
print_info '---- to: ' + peer
|
234
|
-
connect_to_peer( peer ).add_neighbour( node ) do |res|
|
235
|
-
add_dead_neighbour( peer ) if res.rpc_exception?
|
236
|
-
end
|
237
|
-
end
|
238
|
-
end
|
239
|
-
|
240
|
-
def connect_to_peer( url )
|
241
|
-
@rpc_clients ||= {}
|
242
|
-
@rpc_clients[url] ||= Client::Dispatcher.new( url ).node
|
243
|
-
end
|
244
|
-
|
245
|
-
end
|
246
|
-
end
|
247
|
-
end
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:40:16 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:40:16 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:40:16 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:40:16 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:40:16 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:40:16 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:42:22 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:42:22 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:42:22 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:42:22 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:42:22 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:42:22 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:42:23 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:42:23 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:42:23 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:42:23 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:42:23 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:42:23 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:42:26 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:42:26 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:42:26 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:42:26 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:42:26 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:42:26 2022] [status] Ready
|
@@ -1,10 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:42:27 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:42:27 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:42:27 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:42:27 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:42:27 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:42:27 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:42:27 2022] [status] Adding neighbour: 127.0.0.1:55183
|
8
|
-
[Mon Jan 24 14:42:27 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:42:27 2022] [info] ---- 127.0.0.1:55183
|
10
|
-
[Mon Jan 24 14:42:27 2022] [status] Advertising: 127.0.0.1:55183
|
@@ -1,10 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:42:27 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:42:27 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:42:27 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:42:27 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:42:27 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:42:27 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:42:27 2022] [status] Adding neighbour: 127.0.0.1:5750
|
8
|
-
[Mon Jan 24 14:42:27 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:42:27 2022] [info] ---- 127.0.0.1:5750
|
10
|
-
[Mon Jan 24 14:42:27 2022] [status] Advertising: 127.0.0.1:5750
|
@@ -1,10 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:42:29 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:42:29 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:42:29 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:42:29 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:42:29 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:42:29 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:42:29 2022] [status] Adding neighbour: 127.0.0.1:44327
|
8
|
-
[Mon Jan 24 14:42:29 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:42:29 2022] [info] ---- 127.0.0.1:44327
|
10
|
-
[Mon Jan 24 14:42:29 2022] [status] Advertising: 127.0.0.1:44327
|
@@ -1,10 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:42:29 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:42:29 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:42:29 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:42:29 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:42:29 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:42:29 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:42:29 2022] [status] Adding neighbour: 127.0.0.1:39752
|
8
|
-
[Mon Jan 24 14:42:29 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:42:29 2022] [info] ---- 127.0.0.1:39752
|
10
|
-
[Mon Jan 24 14:42:29 2022] [status] Advertising: 127.0.0.1:39752
|
@@ -1,10 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:42:30 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:42:30 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:42:30 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:42:30 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:42:30 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:42:30 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:42:31 2022] [status] Adding neighbour: 127.0.0.1:60952
|
8
|
-
[Mon Jan 24 14:42:31 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:42:31 2022] [info] ---- 127.0.0.1:60952
|
10
|
-
[Mon Jan 24 14:42:31 2022] [status] Advertising: 127.0.0.1:60952
|
@@ -1,10 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:42:31 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:42:31 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:42:31 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:42:31 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:42:31 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:42:31 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:42:31 2022] [status] Adding neighbour: 127.0.0.1:58785
|
8
|
-
[Mon Jan 24 14:42:31 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:42:31 2022] [info] ---- 127.0.0.1:58785
|
10
|
-
[Mon Jan 24 14:42:31 2022] [status] Advertising: 127.0.0.1:58785
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:43:16 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:43:16 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:43:16 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:43:16 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:43:16 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:43:16 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:00 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:00 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:00 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:00 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:00 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:00 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:01 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:01 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:01 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:01 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:01 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:01 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:02 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:02 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:02 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:02 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:02 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:02 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:03 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:03 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:03 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:03 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:03 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:03 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:06 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:06 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:06 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:06 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:06 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:06 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:10 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:10 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:10 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:10 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:10 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:10 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:13 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:13 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:13 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:13 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:13 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:13 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:14 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:14 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:14 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:14 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:14 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:14 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:15 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:15 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:15 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:15 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:15 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:15 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:16 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:16 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:16 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:16 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:16 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:16 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:17 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:17 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:17 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:17 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:17 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:17 2022] [status] Ready
|
@@ -1,6 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:19 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:19 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:19 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:19 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:19 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:19 2022] [status] Ready
|
@@ -1,16 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:19 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:19 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:19 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:19 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:19 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:19 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:20 2022] [status] Adding neighbour: 127.0.0.1:9752
|
8
|
-
[Mon Jan 24 14:44:20 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:20 2022] [info] ---- 127.0.0.1:9752
|
10
|
-
[Mon Jan 24 14:44:20 2022] [status] Advertising: 127.0.0.1:9752
|
11
|
-
[Mon Jan 24 14:44:21 2022] [status] Adding neighbour: 127.0.0.1:45543
|
12
|
-
[Mon Jan 24 14:44:21 2022] [info] Updated neighbours:
|
13
|
-
[Mon Jan 24 14:44:21 2022] [info] ---- 127.0.0.1:9752
|
14
|
-
[Mon Jan 24 14:44:21 2022] [info] ---- 127.0.0.1:45543
|
15
|
-
[Mon Jan 24 14:44:21 2022] [status] Advertising: 127.0.0.1:45543
|
16
|
-
[Mon Jan 24 14:44:21 2022] [info] ---- to: 127.0.0.1:9752
|
@@ -1,14 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:20 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:20 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:20 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:20 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:20 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:20 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:20 2022] [status] Adding neighbour: 127.0.0.1:25192
|
8
|
-
[Mon Jan 24 14:44:20 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:20 2022] [info] ---- 127.0.0.1:25192
|
10
|
-
[Mon Jan 24 14:44:20 2022] [status] Advertising: 127.0.0.1:25192
|
11
|
-
[Mon Jan 24 14:44:21 2022] [status] Adding neighbour: 127.0.0.1:45543
|
12
|
-
[Mon Jan 24 14:44:21 2022] [info] Updated neighbours:
|
13
|
-
[Mon Jan 24 14:44:21 2022] [info] ---- 127.0.0.1:25192
|
14
|
-
[Mon Jan 24 14:44:21 2022] [info] ---- 127.0.0.1:45543
|
@@ -1,10 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:21 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:21 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:21 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:21 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:21 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:21 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:21 2022] [status] Adding neighbour: 127.0.0.1:25192
|
8
|
-
[Mon Jan 24 14:44:21 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:21 2022] [info] ---- 127.0.0.1:25192
|
10
|
-
[Mon Jan 24 14:44:21 2022] [status] Advertising: 127.0.0.1:25192
|
@@ -1,16 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:24 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:24 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:24 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:24 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:24 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:24 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:24 2022] [status] Adding neighbour: 127.0.0.1:17456
|
8
|
-
[Mon Jan 24 14:44:24 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:24 2022] [info] ---- 127.0.0.1:17456
|
10
|
-
[Mon Jan 24 14:44:24 2022] [status] Advertising: 127.0.0.1:17456
|
11
|
-
[Mon Jan 24 14:44:25 2022] [status] Adding neighbour: 127.0.0.1:5774
|
12
|
-
[Mon Jan 24 14:44:25 2022] [info] Updated neighbours:
|
13
|
-
[Mon Jan 24 14:44:25 2022] [info] ---- 127.0.0.1:17456
|
14
|
-
[Mon Jan 24 14:44:25 2022] [info] ---- 127.0.0.1:5774
|
15
|
-
[Mon Jan 24 14:44:25 2022] [status] Advertising: 127.0.0.1:5774
|
16
|
-
[Mon Jan 24 14:44:25 2022] [info] ---- to: 127.0.0.1:17456
|
@@ -1,14 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:24 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:24 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:24 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:24 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:24 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:24 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:24 2022] [status] Adding neighbour: 127.0.0.1:36653
|
8
|
-
[Mon Jan 24 14:44:24 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:24 2022] [info] ---- 127.0.0.1:36653
|
10
|
-
[Mon Jan 24 14:44:24 2022] [status] Advertising: 127.0.0.1:36653
|
11
|
-
[Mon Jan 24 14:44:25 2022] [status] Adding neighbour: 127.0.0.1:5774
|
12
|
-
[Mon Jan 24 14:44:25 2022] [info] Updated neighbours:
|
13
|
-
[Mon Jan 24 14:44:25 2022] [info] ---- 127.0.0.1:36653
|
14
|
-
[Mon Jan 24 14:44:25 2022] [info] ---- 127.0.0.1:5774
|
@@ -1,10 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:25 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:25 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:25 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:25 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:25 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:25 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:25 2022] [status] Adding neighbour: 127.0.0.1:36653
|
8
|
-
[Mon Jan 24 14:44:25 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:25 2022] [info] ---- 127.0.0.1:36653
|
10
|
-
[Mon Jan 24 14:44:25 2022] [status] Advertising: 127.0.0.1:36653
|
@@ -1,16 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:29 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:29 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:29 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:29 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:29 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:29 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:29 2022] [status] Adding neighbour: 127.0.0.1:29867
|
8
|
-
[Mon Jan 24 14:44:29 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:29 2022] [info] ---- 127.0.0.1:29867
|
10
|
-
[Mon Jan 24 14:44:29 2022] [status] Advertising: 127.0.0.1:29867
|
11
|
-
[Mon Jan 24 14:44:31 2022] [status] Adding neighbour: 127.0.0.1:17715
|
12
|
-
[Mon Jan 24 14:44:31 2022] [info] Updated neighbours:
|
13
|
-
[Mon Jan 24 14:44:31 2022] [info] ---- 127.0.0.1:29867
|
14
|
-
[Mon Jan 24 14:44:31 2022] [info] ---- 127.0.0.1:17715
|
15
|
-
[Mon Jan 24 14:44:31 2022] [status] Advertising: 127.0.0.1:17715
|
16
|
-
[Mon Jan 24 14:44:31 2022] [info] ---- to: 127.0.0.1:29867
|
@@ -1,14 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:29 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:29 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:29 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:29 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:29 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:29 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:29 2022] [status] Adding neighbour: 127.0.0.1:40848
|
8
|
-
[Mon Jan 24 14:44:29 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:29 2022] [info] ---- 127.0.0.1:40848
|
10
|
-
[Mon Jan 24 14:44:29 2022] [status] Advertising: 127.0.0.1:40848
|
11
|
-
[Mon Jan 24 14:44:31 2022] [status] Adding neighbour: 127.0.0.1:17715
|
12
|
-
[Mon Jan 24 14:44:31 2022] [info] Updated neighbours:
|
13
|
-
[Mon Jan 24 14:44:31 2022] [info] ---- 127.0.0.1:40848
|
14
|
-
[Mon Jan 24 14:44:31 2022] [info] ---- 127.0.0.1:17715
|
@@ -1,10 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:30 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:30 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:30 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:30 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:30 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:30 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:31 2022] [status] Adding neighbour: 127.0.0.1:40848
|
8
|
-
[Mon Jan 24 14:44:31 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:31 2022] [info] ---- 127.0.0.1:40848
|
10
|
-
[Mon Jan 24 14:44:31 2022] [status] Advertising: 127.0.0.1:40848
|
@@ -1,16 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:33 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:33 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:33 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:33 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:33 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:33 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:33 2022] [status] Adding neighbour: 127.0.0.1:25480
|
8
|
-
[Mon Jan 24 14:44:33 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:33 2022] [info] ---- 127.0.0.1:25480
|
10
|
-
[Mon Jan 24 14:44:33 2022] [status] Advertising: 127.0.0.1:25480
|
11
|
-
[Mon Jan 24 14:44:35 2022] [status] Adding neighbour: 127.0.0.1:5124
|
12
|
-
[Mon Jan 24 14:44:35 2022] [info] Updated neighbours:
|
13
|
-
[Mon Jan 24 14:44:35 2022] [info] ---- 127.0.0.1:25480
|
14
|
-
[Mon Jan 24 14:44:35 2022] [info] ---- 127.0.0.1:5124
|
15
|
-
[Mon Jan 24 14:44:35 2022] [status] Advertising: 127.0.0.1:5124
|
16
|
-
[Mon Jan 24 14:44:35 2022] [info] ---- to: 127.0.0.1:25480
|
@@ -1,14 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:33 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:33 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:33 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:33 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:33 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:33 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:33 2022] [status] Adding neighbour: 127.0.0.1:8925
|
8
|
-
[Mon Jan 24 14:44:33 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:33 2022] [info] ---- 127.0.0.1:8925
|
10
|
-
[Mon Jan 24 14:44:33 2022] [status] Advertising: 127.0.0.1:8925
|
11
|
-
[Mon Jan 24 14:44:35 2022] [status] Adding neighbour: 127.0.0.1:5124
|
12
|
-
[Mon Jan 24 14:44:35 2022] [info] Updated neighbours:
|
13
|
-
[Mon Jan 24 14:44:35 2022] [info] ---- 127.0.0.1:8925
|
14
|
-
[Mon Jan 24 14:44:35 2022] [info] ---- 127.0.0.1:5124
|
@@ -1,10 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:35 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:35 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:35 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:35 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:35 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:35 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:35 2022] [status] Adding neighbour: 127.0.0.1:8925
|
8
|
-
[Mon Jan 24 14:44:35 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:35 2022] [info] ---- 127.0.0.1:8925
|
10
|
-
[Mon Jan 24 14:44:35 2022] [status] Advertising: 127.0.0.1:8925
|
@@ -1,16 +0,0 @@
|
|
1
|
-
[Mon Jan 24 14:44:37 2022] [status] Starting the RPC Server...
|
2
|
-
[Mon Jan 24 14:44:37 2022] [status] Initializing grid node...
|
3
|
-
[Mon Jan 24 14:44:37 2022] [status] Node ready.
|
4
|
-
[Mon Jan 24 14:44:37 2022] [info] Updated neighbours:
|
5
|
-
[Mon Jan 24 14:44:37 2022] [info] <empty>
|
6
|
-
[Mon Jan 24 14:44:37 2022] [status] Ready
|
7
|
-
[Mon Jan 24 14:44:38 2022] [status] Adding neighbour: 127.0.0.1:32265
|
8
|
-
[Mon Jan 24 14:44:38 2022] [info] Updated neighbours:
|
9
|
-
[Mon Jan 24 14:44:38 2022] [info] ---- 127.0.0.1:32265
|
10
|
-
[Mon Jan 24 14:44:38 2022] [status] Advertising: 127.0.0.1:32265
|
11
|
-
[Mon Jan 24 14:44:40 2022] [status] Adding neighbour: 127.0.0.1:33455
|
12
|
-
[Mon Jan 24 14:44:40 2022] [info] Updated neighbours:
|
13
|
-
[Mon Jan 24 14:44:40 2022] [info] ---- 127.0.0.1:32265
|
14
|
-
[Mon Jan 24 14:44:40 2022] [info] ---- 127.0.0.1:33455
|
15
|
-
[Mon Jan 24 14:44:40 2022] [status] Advertising: 127.0.0.1:33455
|
16
|
-
[Mon Jan 24 14:44:40 2022] [info] ---- to: 127.0.0.1:32265
|