jMyles
|
5fd14a7109
|
make_federated_ursulas gets called from a few places of varying depths in the stack - accounting for that.
|
2020-08-10 12:54:05 -07:00 |
jMyles
|
924435ee37
|
This might happen to a stranger who isn't a node and doesn't have a rest_url.
|
2020-08-10 12:54:05 -07:00 |
jMyles
|
a448903bbb
|
This makes more sense, because you might block the main thread in a test, and then the Ursula can't process the request.
|
2020-08-10 12:54:05 -07:00 |
jMyles
|
3fa81deb00
|
Loading seednodes here is enough.
|
2020-08-10 12:54:05 -07:00 |
jMyles
|
eaf7fbca37
|
Some debugging breadcrumbs for Ursula.
|
2020-08-10 12:54:04 -07:00 |
jMyles
|
a341962155
|
Struggling with some ALreadyCalled issues - turning debugging on for the defer module gives some useful insight.
|
2020-08-10 12:53:48 -07:00 |
jMyles
|
e23e968eb5
|
Moving the canceller to a top-level class and re-using it.
|
2020-08-10 12:53:33 -07:00 |
jMyles
|
8cd182e26d
|
Stopping Bob and Ursula at appropriate times.
|
2020-08-10 12:53:33 -07:00 |
jMyles
|
78eb904c10
|
Flagging test bob's origins for inspection on other threads.
|
2020-08-10 12:53:33 -07:00 |
jMyles
|
7362b4bfe2
|
Adding cancellation to keep_learning logic.
|
2020-08-10 12:53:32 -07:00 |
jMyles
|
74483ba594
|
Stopping here breaks RPC and other long-running CLI. Need to put it elsewhere.
|
2020-08-10 12:53:04 -07:00 |
jMyles
|
438b24e0c1
|
Another deprecated federated_only.
|
2020-08-10 12:53:04 -07:00 |
jMyles
|
b73475a879
|
No need for the if here - this function checks if it's running.
|
2020-08-10 12:53:04 -07:00 |
jMyles
|
0106e0a731
|
More useful division of error situations where a signature from a Teacher appears to be invalid.
|
2020-08-10 12:53:04 -07:00 |
jMyles
|
92e56069fb
|
Still need to set known_node_class here.
|
2020-08-10 12:53:04 -07:00 |
jMyles
|
266eea23ca
|
Yanking some autouses in favor of usefixtures. [skip ci]
|
2020-08-10 12:53:03 -07:00 |
jMyles
|
b23e46d515
|
Crash more quickly, and with better error, if unable to get cert during seednode instantiation.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
e7e710bb36
|
Stop Alice's publication threadpool in disenchant().
|
2020-08-10 12:52:31 -07:00 |
damon
|
c9d176e972
|
use 12 ursulas for circle docker demo integration tests
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
ff99777960
|
Fixing blunderous percentage error - thanks @fjarri.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
9f6c72a641
|
Reducing density; this line was crazy.
|
2020-08-10 12:52:31 -07:00 |
Kieran R. Prasch
|
041622c40d
|
Allow worker to attempt period commitment as part of it's initialization.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
ac4117485b
|
It makes more sense to force this off into a thread. We're not eager anyway, so there's no reason to chance blocking the main thread.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
8b3b04f3dd
|
Crash more quickly on learning errors in seednode resolution.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
bab9c03b6f
|
This race condition no longer exists.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
488357b3c7
|
This log message was confusing.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
3351af943f
|
Return of demo fleet Ursulas spinup script.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
2daa4a28e9
|
Lookup transacting_power in the typical public way.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
a2b04a00a1
|
Starting Bob's learning loop here (which is in keeping with reality) is needed now that we don't hardcode Bob's fixture nodes.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
3d5c9d3560
|
Ensuring that Enrico doesn't have to deal with known_node class.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
dcbd882a9c
|
Lifecycle logic - shared in federated and blockchain modules.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
16bc34754d
|
Another test that was passing for the wrong reason. It now works regardless of whether the future Ursula is a hardcoded seednode or a user-specified one.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
9437009ffd
|
Add a measure of maturation time; if this increases dramatically, that will represent a breakage.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
5b6c579325
|
We only want to record one fleet state per iteration; this loop previously recorded two.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
6e2687254f
|
Moving stop_character upward to capture other controller cases.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
784814c4bb
|
Don't ship blockchain_bob with known_nodes; he can use his domain hardcoded nodes. Also, don't start his learning loop after the fact. This caused this test to pass even when he was unable to actually find the nodes in join_policy.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
866e0e2e0a
|
Skipping this test until we get the DB (#2099) worked out.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
4e68f532b5
|
Felix doesn't use a network domain.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
5f3eca5b4b
|
Divide cli lifecycle tests into federated and decentralized in order to keep Ursula cache separated.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
702aa80ee2
|
This error handling no longer makes sense; sprouts don't have these exceptions.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
fb0550d388
|
Only try to find canonical seednode urls if we have a learning domain.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
6b33e5819c
|
Reimplementing --teacher-uri in simpler form.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
fddc956879
|
Felix needs to not learn.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
69840fcdce
|
Minimal disenchantment logic. #2127.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
29e0503852
|
...the config.node module, where it's nice to be able to be able to set a default known node class.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
0dc3f14648
|
We no longer need to connect to default domains, and removing it saves us an otherwise circular import with...
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
16a7f90e27
|
Separating lifecycle tests for fixture hygiene.
|
2020-08-10 12:52:31 -07:00 |
Kieran Prasch
|
9a5ea68db3
|
Handles the --lonely CLI option for alice and bob command.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
27b1f8fff9
|
Fixed imports for acumen.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
7b31d0635c
|
Appropriate response for a map that is already stored.
|
2020-08-10 12:52:31 -07:00 |