Commit Graph

5216 Commits (84c1585b85f92a18dc6c9f2202069eb3fc3ed82d)

Author SHA1 Message Date
jMyles 84c1585b85 Allow cert storage function to be composed elsewhere. 2020-01-08 16:43:39 -08:00
jMyles 095ebe77d4 Now we might have instantiated the sprout into a node, or we might not have. 2020-01-08 16:43:39 -08:00
jMyles 6f72db0e42 Reintroducing domain check up here. 2020-01-08 16:43:39 -08:00
jMyles 21ac24e0f8 Easier to debug and test if the round_finish time has a name. 2020-01-08 16:43:39 -08:00
jMyles 17d043b4fb Utilities for just-in-time verification. 2020-01-08 16:43:39 -08:00
jMyles d02ffb05c1 Removing some of the workarounds from mature() that are now in from_prepared_bytes(). 2020-01-08 16:43:39 -08:00
jMyles 8196558510 Individually instantiating client objects per middleware. 2020-01-08 16:43:39 -08:00
jMyles a2f6b03b76 from_processed_bytes now includes workarouns previous found in from_bytes. Also formatting and log cleanups. 2020-01-08 16:43:39 -08:00
jMyles b2275dc366 Moving node_information to client for last minute verification. 2020-01-08 16:43:39 -08:00
jMyles f3e8ff6e63 Starting a logic path to dehydrate the bytes workarounds. 2020-01-08 16:43:39 -08:00
jMyles 8f81e68a67 Perhaps my new favorite constant. 2020-01-08 16:43:39 -08:00
jMyles 476123816d At grant time, publishing the TreasureMap is now optional. 2020-01-08 16:43:39 -08:00
jMyles 949cea211a Up and down in the water?! A mock Bob for working with highperf mock Ursulas. 2020-01-08 16:43:39 -08:00
jMyles 703aeeee02 Need mock message verification in more places than were initially obvious. 2020-01-08 16:43:39 -08:00
jMyles 2e0fb975ae We need to be able to mock specific routes individually to test this. 2020-01-08 16:43:39 -08:00
jMyles 38ef6ecb8c For the moment, let's imagine we're not doing this specialized verification. 2020-01-08 16:43:39 -08:00
jMyles c84780066a If the Node is complete, mature() does nothing. 2020-01-08 16:43:39 -08:00
jMyles aa2b9ace96 We'll use eagerness as an indication of whether the caller wants partial splitting. 2020-01-08 16:43:39 -08:00
jMyles d21db0a5c1 Have to decide the federated mode of JIT-instantiated nodes somehow. It seems like #466 and #410 are increasingly in danger of being close in favor of single-mode operation; though this change can certainly be replaced by (albeit substantial) logic to reverse that direciton. 2020-01-08 16:43:39 -08:00
jMyles fbd5a4f91a NodeSprout is now PartiallyKwargifiedBytes as an optimization; mature() finishes the split and adds a silly workaround. 2020-01-08 16:43:39 -08:00
jMyles 3115ce0c27 Henceforth, all these things will be nodes or sprouts. 2020-01-08 16:43:39 -08:00
jMyles d06b92cd45 Testing showing JIT validation of Ursula, with TODO showing where we might eventually do that. 2020-01-08 16:43:39 -08:00
jMyles 3856a0ff66 At method time, a node might now not be fully mature. Take care of that here. 2020-01-08 16:43:39 -08:00
jMyles f83cd10b67 New splitter with optimization via partial. Will require new BytestringSplitter. 2020-01-08 16:43:39 -08:00
jMyles 6c84171595 Can't calculate duration periods for a federated policy, so let's fail faster and have a better error message. 2020-01-08 16:43:39 -08:00
jMyles 5de196329a New fixture for high-performance mocked Alice, which is compatible with Ursulas fixture in previous commit. 2020-01-08 16:43:39 -08:00
jMyles 377d88c81c Making fixture out of high-performance mocked ursulas. 2020-01-08 16:43:39 -08:00
jMyles 367195d5e7 Moving performance mocks to separate module. 2020-01-08 16:43:39 -08:00
jMyles dd9f866ba7 Collating all mocks needed to make high-performance mock ursulas. 2020-01-08 16:43:39 -08:00
jMyles 80778dc957 Pass entire class throug in order to instantiate NodeSprout or node instance. 2020-01-08 16:43:39 -08:00
jMyles 7df1fde295 New test module for discovery phases. 2020-01-08 16:43:39 -08:00
jMyles f7e90f4bc3 Updating test to account for use of NodeSprout. 2020-01-08 16:43:39 -08:00
jMyles 7b57f0b06e New remember_node logic using NodeSprout. 2020-01-08 16:43:39 -08:00
jMyles a301a92448 Introducing NodeSprout - a lighter-weight representation meant for rapid instantiation. 2020-01-08 16:43:39 -08:00
jMyles 92a7be805a Passing Ursula class through instead of importing. 2020-01-08 16:43:39 -08:00
jMyles 0c962902e6 Splitting parsing logic from discovery logic. 2020-01-08 16:43:39 -08:00
jMyles c64d09dd12 Switching eager remembering to False by default, but keeping eager for known_nodes to preserve current behavior for the moment. See #1449. 2020-01-08 16:43:39 -08:00
jMyles bc6950dd8f Better tracking of mock verifications. 2020-01-08 16:43:39 -08:00
jMyles 153c9ceea8 More eagerness controls. 2020-01-08 16:43:39 -08:00
jMyles 0555018ff1 Test showing #1450. 2020-01-08 16:43:39 -08:00
jMyles cd29869ac4 Crazy web of patches. These are the minimum mocks required to produce 5000 Ursulas in the timeframe required for a test. 2020-01-08 16:43:39 -08:00
jMyles d329b98293 A fast mock public key. 2020-01-08 16:43:39 -08:00
jMyles 0d532cefb2 A new mock middleware client with a slightly deeper mock of node metadata transmission. 2020-01-08 16:43:39 -08:00
jMyles 7cfe32fa4c Using separated known_nodes bytestring. 2020-01-08 16:43:39 -08:00
jMyles 5a563999c6 Separating construction of bytestring of all known nodes so that it can be used more easily in tests. 2020-01-08 16:43:39 -08:00
jMyles 6a336aecbd Insane monkey patching block. This is how you make several thousand Ursulas in a test. 2020-01-08 16:43:39 -08:00
jMyles a6d3e5841f Need a way to pause all logging for massive Ursula tests. 2020-01-08 16:43:39 -08:00
David Núñez 946282da4d
Merge pull request #1538 from cygnusv/amaranta
Dehydrate PreallocationEscrow deployment
2020-01-04 23:31:55 +00:00
David Núñez 49219169e9 Address RFCs to #1538: add some @validate_checksum_address decorators 2020-01-05 00:16:37 +01:00
David Núñez 966d5d4862 Correct description of calldata layout in receiveApproval() 2020-01-03 12:13:53 +01:00