Commit Graph

5342 Commits (71d49f3ed3c22bb6dd5701a28eca3cbae08a93e8)

Author SHA1 Message Date
jMyles e2cf9b3214 This was a bug - it was possible not to be able to get the stranger cert. 2020-01-08 16:43:39 -08:00
jMyles 6b5583854a bytes and stamp for NodeSprout. 2020-01-08 16:43:39 -08:00
jMyles 6f024f459a Docstring for this new conjoined method. 2020-01-08 16:43:39 -08:00
jMyles ea6b1c1fcf Set exempt constant to case to bool False. 2020-01-08 16:43:39 -08:00
jMyles ecff39bbdc Need to just cast ordinarily here; otherwise we miss the subclass method. 2020-01-08 16:43:39 -08:00
jMyles 05ca31b14b We don't necessarily want to mature the sprout this early. 2020-01-08 16:43:39 -08:00
jMyles 39029269cb Now that we're doing JIT verification, we don't need this block. 2020-01-08 16:43:39 -08:00
jMyles 264b18e232 The end of automatic mixed operating mode. Removes and cleans up lots of federated_only kwargs. Closes #410. 2020-01-08 16:43:39 -08:00
jMyles c9e704c9e2 We don't want canonical_public_address to ever cause the checksum address to be set or set again. 2020-01-08 16:43:39 -08:00
jMyles fa154c7182 We might no even have a nickname here. 2020-01-08 16:43:39 -08:00
jMyles 68b57c32c3 NO_BLOCKCHAIN_CONNECTION - see #1547. 2020-01-08 16:43:39 -08:00
jMyles 561109f4d0 Setting node class and operating mode as defaults in this case. See #466. 2020-01-08 16:43:39 -08:00
jMyles bab41dd398 This mock needs to know about the node now. 2020-01-08 16:43:39 -08:00
jMyles 93d1f7f3dc It is no longer the case that Alice will get NotEnoughNodes here; in fact she can't help but learn about (and verify) the nodes she needs at grant time. 2020-01-08 16:43:39 -08:00
jMyles 36386745f5 Bumping reqs for new BSS. 2020-01-08 16:43:39 -08:00
jMyles b49dcf98b3 Some more optimizations to lower test time. 2020-01-08 16:43:39 -08:00
jMyles e949123a08 Need an instantiated node to make a WorkOrder for it. 2020-01-08 16:43:39 -08:00
jMyles b38d130aaa Debuggers try to read the length of this object to represent it; causes extraneous warnings in the console, so let's just implement it here. 2020-01-08 16:43:39 -08:00
jMyles ab04d13ed6 Separating verify and parse logic in middleware so that the latter is easier to mock. 2020-01-08 16:43:39 -08:00
jMyles cafd469aad Passing client instead of middleware per new spec. 2020-01-08 16:43:39 -08:00
jMyles 092d9049db Facility to convert fake key to real one for testing. 2020-01-08 16:43:39 -08:00
jMyles e88d0bcf42 A few updates to performance mocks. Most notably, and strangest, a quick list of all the integers which, when cast to string along with the test string, produce a value in bytes which can't be used as a public key. Seemed like the simplest way to proceed, but I'm open to ideas. 2020-01-08 16:43:39 -08:00
jMyles 32593b432c Flask wants testing set to true in order for this to be treated like a test client. 2020-01-08 16:43:39 -08:00
jMyles 3f372d4053 Comments and new mocks for highperf Alice test. 2020-01-08 16:43:39 -08:00
jMyles 91e757b021 highperf mocked ursula fleet is now variable in size. 2020-01-08 16:43:39 -08:00
jMyles e4207b02fd Use the client in verify_node now. 2020-01-08 16:43:39 -08:00
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