jMyles
8bdfa02dbb
Separate into... two queues.
2020-08-18 05:10:44 -07:00
jMyles
b18dfd9a69
Evolving test.
2020-08-18 05:10:44 -07:00
jMyles
37ebca4afa
Reflecting type hint in refactor.
2020-08-18 05:10:44 -07:00
jMyles
3e80655d0f
Simplified enactment using new mutex.
2020-08-18 05:10:44 -07:00
jMyles
0484360020
Eck. An async shim until we make middleware async.
2020-08-18 05:10:44 -07:00
jMyles
db1f7e51ec
Transforming and generalizing the mutex.
2020-08-18 05:10:44 -07:00
jMyles
e913b2e430
Need to get the values of the dict instead of trying to slice the whole object. Fixes #2174 .
2020-08-18 05:10:44 -07:00
jMyles
5c877db1e1
Logic to use the injected ThreadPool.
2020-08-18 05:10:44 -07:00
jMyles
21b333909c
Get Alice's threadpool and pass it *into* the methods.
2020-08-18 05:10:44 -07:00
jMyles
ceb29308e1
Revising here so that we round up the number of responses to unblock.
2020-08-18 05:10:44 -07:00
jMyles
23792bf87e
OK, now we can wait in an async method to get a new threadpool for each Policy.
2020-08-18 05:10:44 -07:00
jMyles
d60976870b
Let's see what happens if we have a general Queue and comment-out the treadpool...
2020-08-18 05:10:44 -07:00
jMyles
fc859440cf
Eh, unit test reflecting incorrect LMDB_MAP_SIZE.
2020-08-18 05:10:44 -07:00
Kieran R. Prasch
0a52158b59
Annotate several TODOs.
2020-08-18 05:10:43 -07:00
Kieran R. Prasch
262938455d
Handle shutdown or partially initialized Ursulas; Adjust cli test to reflect.
2020-08-18 05:10:43 -07:00
jMyles
448a54df80
Also fail if a node crashed.
2020-08-18 05:10:43 -07:00
jMyles
d92f386c03
Maybe we don't want to learn at the beginning of the loop, since it can have already stopped. (Is there a better way?)
2020-08-18 05:10:43 -07:00
jMyles
4057608e68
Checking for zombified Characters and failing modules that leave them in state.
2020-08-18 05:10:43 -07:00
Kieran Prasch
6dd188a6d8
Skip treasure map duplication test for now.
2020-08-18 05:10:43 -07:00
Kieran Prasch
e594ff5e8c
Test fixes: another manual tpower activation and attempt to fix tmap reference.
2020-08-18 05:10:43 -07:00
Kieran Prasch
73d1022c94
bifurcate 'network actors' tests.
2020-08-18 05:10:43 -07:00
Kieran Prasch
c6b56ed5e5
Skip geth integration alltogether until #2074
2020-08-18 05:10:43 -07:00
Kieran Prasch
533a003a98
Restores exception handling around eager node learning (needs follow up)
2020-08-18 05:10:43 -07:00
Kieran Prasch
da582908c7
Use exception chaining duing transaction failed handling
2020-08-18 05:10:43 -07:00
David Núñez
b1b3c933bf
Merge pull request #2181 from fjarri/fixed-rng-in-sampling-test
...
Fix RNG seed in the sampling test to avoid low-probability random fails
2020-08-18 12:21:03 +02:00
Bogdan Opanchuk
1a08b90294
Fix RNG seed in the sampling test to avoid low-probability random fails
2020-08-17 17:22:37 -07:00
K Prasch
226e49a217
Merge pull request #2164 from KPrasch/pizza-factory
...
Improves workorder serialization (Follow up for datastore)
2020-08-15 16:48:51 -07:00
damon
833530f581
import PolicyArrangement for metrics collection
2020-08-14 13:20:30 -07:00
Kieran Prasch
c9b4f0de5d
Use exception chaining duing transaction failed handling
2020-08-14 12:18:02 -07:00
Kieran Prasch
e1d53f1230
Improve transaction failed console error reporting.
2020-08-14 12:15:55 -07:00
David Núñez
622aff5ced
Some improved log messages when retrieving
2020-08-14 12:15:16 -07:00
David Núñez
42ae161122
WorkOrder.tasks is a dict keyed by capsules. This was working by coincidence
2020-08-14 12:15:16 -07:00
David Núñez
0d9f95ee85
Unit tests for WorkOrder
2020-08-14 12:15:16 -07:00
David Núñez
52e21bbb65
Fix mock_ursula_reencrypts so it produces expected output types
2020-08-14 12:15:16 -07:00
David Núñez
57d976c4da
Get rid of unnecessary digest of capsules in WorkOrder generation
2020-08-14 12:15:16 -07:00
David Núñez
5f4cfe9f0d
Fix wrong logic for error messages in Teacher.verify_node(). Code cleaning in lawful.py
2020-08-14 12:15:16 -07:00
David Núñez
13c636f26a
Improve input validation of PRETask.get_specification() and add test
2020-08-14 12:15:16 -07:00
David Núñez
74757a9ab9
Fixed size for decentralized identity evidence (it's 65, btw)
2020-08-14 12:15:16 -07:00
David Núñez
6dd02d270b
Minor face-lifting for WorkOrder
2020-08-14 12:15:16 -07:00
David Núñez
52dec3203c
Continue formalization of PRETask splitters
2020-08-14 12:15:16 -07:00
David Núñez
ef692f3474
Basic unit tests for PRETask
2020-08-14 12:15:16 -07:00
David Núñez
4797476ad7
When serializing CFrags in PRETask, use a VariableLengthBytestring, as it may contain arbitrary metadata
2020-08-14 12:15:16 -07:00
David Núñez
6290814181
Fix wrong kwarg name in PRETask
2020-08-14 12:15:16 -07:00
damon
83f44fda0a
rework capsule/signature serialization to avoid using msgpack
2020-08-14 12:15:16 -07:00
Kieran Prasch
1b93ca47f2
Add Snetry SDK to ursula's pip extra.
2020-08-14 12:15:16 -07:00
K Prasch
697a6d3d02
Merge pull request #2056 from fjarri/sampling
...
Simplify staker sampling
2020-08-13 13:51:48 -07:00
Bogdan Opanchuk
449139e0a1
Fix a logical mistake in sample()
2020-08-12 15:40:17 -07:00
Victoria
ae371611ed
Merge pull request #2158 from vzotova/even-more-stakes
...
`create`/`increase`: flag to use unlocked tokens, `merge` command in `stake`
2020-08-12 23:05:56 +03:00
Victoria
21cf902764
Apply suggestions from code review #2158
...
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: K Prasch <kieranprasch@gmail.com>
Co-authored-by: David Núñez <david@nucypher.com>
2020-08-12 22:51:30 +03:00
Bogdan Opanchuk
32371761e4
Implement RFCs, part 3
2020-08-11 22:27:13 -07:00