Skip to content

Conversation

@abdulazeem-tk4vr
Copy link
Collaborator

Deprecates specific transaction types and API endpoints in preparation for a future version.

This change introduces the following:

  • Marks old transaction types (email, gossip_email_hash, verify, friend, remove_friend) as deprecated in the code using JSDoc tags.
  • Adds a version-based check to reject deprecated transaction types and API requests (friends, tollOfFriend) when the network version is 2.5.0 or higher.
  • Returns a 410 status code for deprecated API endpoints.

Implements a check for deprecated transaction types based on network version.

This ensures that transactions of type email, gossip_email_hash, verify, friend, and remove_friend are no longer accepted if the network version is 2.5.0 or newer. This deprecation is intended to improve security and maintainability of the system.
Adds the network id to the transaction object being sent to the server,
ensuring transactions are properly routed based on their intended network.

Modifies the message query to include a starting index of 0.
This ensures that the retrieval always begins from the start of the
message history.
@abdulazeem-tk4vr abdulazeem-tk4vr added feature adding something new to the system enhancement New feature or request and removed feature adding something new to the system labels Jan 29, 2026
@abdulazeem-tk4vr abdulazeem-tk4vr linked an issue Jan 29, 2026 that may be closed by this pull request
@jairajdev jairajdev changed the base branch from main to dev January 29, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove unused txs in the Liberdus

3 participants