Ledger: Use representative for change blocks and epoch signer for epoch blocks in linked_account#4842
Draft
Exxenoz wants to merge 4 commits intonanocurrency:developfrom
Draft
Ledger: Use representative for change blocks and epoch signer for epoch blocks in linked_account#4842Exxenoz wants to merge 4 commits intonanocurrency:developfrom
Exxenoz wants to merge 4 commits intonanocurrency:developfrom
Conversation
- Add proper `linked_account` to the block content for send, receive, and open blocks when the `include_linked_account` option is enabled. - For change and epoch blocks, `linked_account` is set to "0", maintaining consistency with the `source` field in the blocks_info RPC response. Co-authored-by: clemahieu <clemahieu@gmail.com> Co-authored-by: gr0vity <gr0vity.dev@gmail.com>
…k_info, and blocks_info RPCs
…ch blocks in `linked_account`
b18a51e to
6de112d
Compare
Test Results for Commit 6de112dPull Request 4842: Results Test Case Results
Last updated: 2025-02-09 17:54:06 UTC |
Contributor
Author
|
It's about this commit: 6de112d Can someone tell me if this makes sense? If so, I'll do a rebase and fix the web socket tests; otherwise the PR can be closed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ledger::linked_accountnow returns the block's representativeIssues resolved
This PR is an extension to PR #4841
This PR simplifies the detection of related accounts for block explorer applications. As a result, the following logic can be completely removed, reducing complexity: