msgid is stored as text type #2247
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-11-29#2247
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
msgid is stored as text type.
It should be binary blob.
hash in inventory is OK.
This is true, but there are potential problems with upgrades. That's why the sql thread should be refactored first and added tests. These are the PRs that tried that but they are too big and need cleaning up: #1794 #1999 #2150
The type of values whose declared type is blob:
It actually isn't consistent across versions, there may be older databases which are different. That's why we need tests for this, even more for the data type change.
How about this:
I think this should be compatible to any past versions and future updates, including migrations to Python3.
I have implemented a quick workaround: #2248