Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fields for number of code transactions/relations #9

Open
myrho opened this issue Nov 27, 2023 · 1 comment
Open

Add fields for number of code transactions/relations #9

myrho opened this issue Nov 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@myrho
Copy link

myrho commented Nov 27, 2023

Since code transactions (tx value = 0) are different from value transactions, add distinct calculated fields for the number of code transactions, resp. code relations. Suggestions for field names:

address:

  • in_degree_code
  • out_degree_code
  • no_incoming_txs_code
  • no_outgoing_txs_code

relations:

  • no_transactions_code
@myrho myrho added the enhancement New feature or request label Nov 27, 2023
soad003 added a commit that referenced this issue Nov 28, 2023
@soad003
Copy link
Member

soad003 commented Nov 28, 2023

@myrho added the fields to the address table in the tron branch. Will be available for eth aswell as soon as we merge. Regarding the relations I don't think we need that there. Either all txs are code txs or none on a relation. Note: the fields count relations and txs to smart contracts (not zero-value). I can add fields for zero value txs as well if needed

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

No branches or pull requests

2 participants