jMyles
|
117c70eb26
|
FleetState is now FleetStateTracker; FleetState is a smaller idea communicated by a NamedTuple. We now track previous states.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
458b999ddd
|
Moved away from treating known_nodes as a dict throughout.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
fba0d2a99d
|
Sometimes you just want the addresses in the fleet.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
7caee0dc91
|
Gonna need __len__ and __eq__ for state.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
71bbc2772c
|
Nodes can directly iterate and introspect known_nodes now.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
7525cfa8a8
|
Filling out the dunders on FleetState.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
78aeee44c5
|
Actually, we can just go straight to learning from the teacher now. Fixes #557.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
852816e7ec
|
Moved more logic into FleetState.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
9cc486d30a
|
Touchups for status page.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
31f66cf071
|
Past fleet state as a param during learning; only learn if there's a difference.
|
2018-11-16 10:22:59 -08:00 |
jMyles
|
1635f00626
|
Providing snapshot as bytes, and splitter to reconcile it on the other end.
|
2018-11-16 10:22:59 -08:00 |
jMyles
|
d03d5c6194
|
Grabbing snapshot from bytes representation and applying it to teacher.
|
2018-11-16 10:22:59 -08:00 |
jMyles
|
ff1fc59a91
|
Adding snapshot to FleetStatus; we'll use this to get each node's view of the network.
|
2018-11-16 10:22:59 -08:00 |
jMyles
|
61633cf472
|
Using plain symbols so that they adopt proper color.
|
2018-11-16 10:22:59 -08:00 |
K Prasch
|
a2d299fe6d
|
Merge pull request #550 from cygnusv/touch-ups
Touch-ups to CLI and status page
|
2018-11-14 06:50:41 -08:00 |
David Núñez
|
1e6a33c265
|
To end CLI, raise click.Abort() instead of return
|
2018-11-14 10:16:59 +01:00 |
David Núñez
|
f265de61c3
|
Bob needs at least m cfrags, not more than that.
|
2018-11-13 12:05:51 +01:00 |
David Núñez
|
f42c90090f
|
Correct payload type hint in storages.py
|
2018-11-12 13:42:59 +01:00 |
David Núñez
|
9dbe7a7e31
|
Avoid text rewrapping in CLI
See http://click.palletsprojects.com/en/7.x/documentation/#preventing-rewrapping
|
2018-11-12 12:12:49 +01:00 |
David Núñez
|
29d84a76a2
|
Help text in CLI for actions of nucypher configure and nucypher stake
|
2018-11-12 12:12:49 +01:00 |
David Núñez
|
b768f0c348
|
Do nothing with nucypher stake and nucypher account if no account is found
|
2018-11-12 12:12:49 +01:00 |
David Núñez
|
fca75da7ef
|
Touch-ups to the status page
|
2018-11-12 12:12:45 +01:00 |
K Prasch
|
25cd44596e
|
Merge pull request #547 from jMyles/learning-loop
Lots of little updates to status page, console output, and learning
|
2018-11-11 12:14:56 -08:00 |
jMyles
|
11f9a5d035
|
If at first you don't succeed (to connect to the Teacher node), try try again (and catch the appropriate errors).
|
2018-11-11 09:24:44 -08:00 |
jMyles
|
17d0a245da
|
Small fixes for tests to match FleetState updating logic.
|
2018-11-11 06:25:53 -08:00 |
jMyles
|
e9804e2fb0
|
Tests specifically for learning.
|
2018-11-10 20:55:26 -08:00 |
jMyles
|
0d29c58e52
|
Status touchups.
|
2018-11-10 20:54:57 -08:00 |
jMyles
|
4bdcd89c64
|
Only count new nodes if remember_node(...) reported them as such.
|
2018-11-10 20:54:18 -08:00 |
jMyles
|
2ceea1c535
|
remember_node(...) returns a bool for whether node was new.
|
2018-11-10 20:53:46 -08:00 |
jMyles
|
2d3327a4fe
|
If we're done seeding, don't start again.
|
2018-11-10 20:53:07 -08:00 |
jMyles
|
6bdfd1e3cd
|
Once Ursula is fully loaded, then we'll update FleetState.
|
2018-11-10 20:52:36 -08:00 |
jMyles
|
2c9987dcba
|
Don't update fleet state until reading from node storage is done.
|
2018-11-10 19:56:45 -08:00 |
jMyles
|
75af0140b7
|
Only include self in fleet state if you're a VerifiableNode.
|
2018-11-10 19:56:08 -08:00 |
jMyles
|
c4f3f39c1b
|
Changing init order to allow fleet state to be updated right away.
|
2018-11-10 19:54:37 -08:00 |
jMyles
|
941106582a
|
Some more interesting details to Ursula console output.
|
2018-11-10 19:25:59 -08:00 |
jMyles
|
86f7c30416
|
Adding information about self and fleet state to status page.
|
2018-11-10 19:23:39 -08:00 |
jMyles
|
1374661f6a
|
Tracking last_seen on VerifiableNodes.
|
2018-11-10 19:21:47 -08:00 |
jMyles
|
582d7b01e5
|
Learner doesn't actually use common_name, so let's get it outta there.
|
2018-11-10 19:13:36 -08:00 |
jMyles
|
3b37fa395b
|
Makes more sense to sort by checksum address for fleet state.
|
2018-11-10 18:43:02 -08:00 |
jMyles
|
24d276f15b
|
Adding nicknames and last_seen to some cli output.
|
2018-11-10 17:48:05 -08:00 |
jMyles
|
1154329c7b
|
Introducing FleetState - a class to track a particular Learner's view of the entire fleet.
|
2018-11-10 17:47:44 -08:00 |
jMyles
|
05c6def5bd
|
Moving Learner to nodes.
|
2018-11-10 17:47:06 -08:00 |
K Prasch
|
f4c7ce9240
|
Merge pull request #546 from KPrasch/master
Finnegans Wake Demo Docs
|
2018-11-10 14:06:35 -08:00 |
Kieran Prasch
|
093e65a19c
|
Port @ongrid's docs to the latest demo; Thanks!
|
2018-11-10 14:02:39 -08:00 |
Kirill Varlamov
|
e1daf23ed4
|
Add readme describing the live process
|
2018-11-10 13:55:40 -08:00 |
Kirill Varlamov
|
7fee625771
|
Fix nucypher/nucypher#487 unexpected qwarg in federated demo
|
2018-11-10 13:55:23 -08:00 |
K Prasch
|
ede6d43ff5
|
Merge pull request #544 from KPrasch/return-of-cedar
Pin eth-utils version
|
2018-11-10 13:44:57 -08:00 |
Kieran Prasch
|
01dda169d2
|
Pin eth-utils version
|
2018-11-10 13:41:10 -08:00 |
K Prasch
|
32cbc673f7
|
Merge pull request #490 from nucypher/cedar
[RELEASE] Cedar
|
2018-11-10 13:28:36 -08:00 |
K Prasch
|
9c18641b67
|
Merge pull request #543 from KPrasch/return-of-cedar
Adjust Entrypoint Usage; Advanced Teacher URIs
|
2018-11-10 13:09:55 -08:00 |