Commit Graph

12 Commits

Author SHA1 Message Date
lakshyacis 108b231c1c
sqlite quality fixes 2020-01-08 13:20:10 +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 6f910f67c0
filesystem flake8 fixes 2019-09-27 17:01:06 +05:30
Peter Šurda 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
Peter Šurda 8a5ec29540
Store object hash as binary in sqlite (inventory) 2018-02-01 21:24:50 +01:00
Peter Šurda 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
Peter Šurda d2f79d3172
sqlite storage fix
- typo on cleaning
2017-11-14 23:20:15 +01:00
Peter Šurda aa203b23ee
Fix typo introduced by code quality patch 2017-06-24 23:09:08 +02:00
Peter Šurda 2685fe29b1
Code quality improvements 2017-06-24 12:13:35 +02:00
Peter Šurda 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
Peter Šurda 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