Commit Graph

23 Commits

Author SHA1 Message Date
navjot
7a010441c3
Fixed flake8 CQ issues 2020-12-30 20:01:33 +05:30
navjot
a2ab0a02dc
written test case randomtrackingdict dict module 2020-12-28 16:01:23 +05:30
0dd49761d0
Populate knownnodes from inventory when singleWorker starts 2020-07-21 16:21:42 +03:00
lakshyacis
6139efc377
Imported packages sequencing and formatting 2 2020-01-27 14:43:25 +05:30
lakshyacis
e37d52d950
storage quality fixes 2020-01-08 13:20:11 +05:30
lakshyacis
108b231c1c
sqlite quality fixes 2020-01-08 13:20:10 +05:30
lakshyacis
6fad4f5665
filesystem quality fixes 2020-01-08 13:20:10 +05:30
lakshyacis
fba2d6d837
storage pylint fixes 2019-09-27 17:01:08 +05:30
lakshyacis
e924e9208f
storage flake8 fixes 2019-09-27 17:01:07 +05:30
lakshyacis
da5d085a39
sqlite pylint fixes 2019-09-27 17:01:07 +05:30
lakshyacis
54ebbcb7db
sqlite flake8 fixes 2019-09-27 17:01:07 +05:30
lakshyacis
ac341482d4
filesystem pylint fixes 2019-09-27 17:01:06 +05:30
lakshyacis
6f910f67c0
filesystem flake8 fixes 2019-09-27 17:01:06 +05:30
96b8cff0d1
Inventory checking performance optimisation
- caching of whether an object exists in inventory was somehow removed
since storage refactoring (or it never worked). Now existence checking
is cached in the sqlite storage backend
2018-02-02 14:33:29 +01:00
8a5ec29540
Store object hash as binary in sqlite (inventory) 2018-02-01 21:24:50 +01:00
5605672f75
Fix tag search when inventory contains blobs
- recent changes caused the "tag" (and "payload") columns in the
inventory table in messages.dat to be stored as blobs. Searches by tag
(e.g. pubkey lookups) stopped working. This fixes it.
2017-12-02 02:48:10 +01:00
d2f79d3172
sqlite storage fix
- typo on cleaning
2017-11-14 23:20:15 +01:00
aa203b23ee
Fix typo introduced by code quality patch 2017-06-24 23:09:08 +02:00
2685fe29b1
Code quality improvements 2017-06-24 12:13:35 +02:00
243025a1aa
Leave __delitem__ unimplemented in filesystem storage
- rename the cleaning method
2017-06-21 12:17:40 +02:00
e522f015a8
Network status updates
- only update processed numbers once every 2 seconds
- moved inventory lookups to the main inventory so now all
storage modules work with it
2017-05-31 10:15:47 +02:00
c85d52b8e8
Asyncore updates
- asyncore is now on by default
- inv announcements implemented
- bandwidth limit implemented / fixed
- stats on download / upload speed now work
- make prints into logger
- limit knownNodes to 20k as it was before
- green light fixed
- other minor fixes
2017-05-29 00:24:07 +02:00
36b5e2c04f
Inventory storage abstraction
- can have multiple storage types for inventory
- sqlite is the old one, filesystem is a new available
2017-05-27 19:03:27 +02:00