Added optional chatReference field to CHAT transactions.

This allows one message to reference another, e.g. for replies, edits, and reactions. We can't use the existing reference field as this is used for encryption and generally points to the user's lastReference at the time of signing.

"chatReference" is based on the "nameReference" field used in various name transactions, for similar purposes.

This needs a feature trigger timestamp to activate, and that same timestamp will need to be used in the UI since that is responsible for building the chat transactions.
This commit is contained in:
CalDescent
2022-10-21 15:58:23 +01:00
parent 57125a91cf
commit 910191b074
22 changed files with 93 additions and 21 deletions

View File

@@ -80,7 +80,8 @@
"calcChainWeightTimestamp": 1620579600000,
"transactionV5Timestamp": 1642176000000,
"transactionV6Timestamp": 9999999999999,
"disableReferenceTimestamp": 1655222400000
"disableReferenceTimestamp": 1655222400000,
"chatReferenceTimestamp": 9999999999999
},
"genesisInfo": {
"version": 4,