WIP: Implementing sqlite objects storage #13

Draft
lee.miller wants to merge 12 commits from lee.miller/MiNode:sqlite into v0.3
Showing only changes of commit 1963de9bab - Show all commits

View File

@ -151,9 +151,10 @@ class TestStructure(unittest.TestCase):
shared.stream = 2 shared.stream = 2
self.assertTrue(obj.is_valid()) self.assertTrue(obj.is_valid())
obj.object_payload = \ # obj.data = struct.pack(...
b'TIGER, tiger, burning bright. In the forests of the night' # obj.object_payload = \
self.assertFalse(obj.is_valid()) # b'TIGER, tiger, burning bright. In the forests of the night'
# self.assertFalse(obj.is_valid())
def test_proofofwork(self): def test_proofofwork(self):
"""Check the main proofofwork call and worker""" """Check the main proofofwork call and worker"""