Skip to content
This repository was archived by the owner on Aug 23, 2020. It is now read-only.

Document dto #1143

Merged
merged 10 commits into from
Nov 16, 2018
Merged

Document dto #1143

merged 10 commits into from
Nov 16, 2018

Conversation

kwek20
Copy link
Contributor

@kwek20 kwek20 commented Nov 12, 2018

Description

Updated documentation for the DTO classes
Should be merged after #1140, since this is based on that work.

Fixes #1114

Type of change

  • Documentation Fix

Checklist:

  • My code follows the style guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

@kwek20 kwek20 requested a review from jakubcech November 12, 2018 17:32
@alon-e alon-e added the C-Docs label Nov 12, 2018
* <li>numberOfAllTransactions</li>
* <li>numberOfRandomTransactionRequests</li>
* <li>numberOfNewTransactions</li>
* <li>numberOfInvalidTransactions</li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is now also a getNumberOfStaleTransactions :)
not sure it's worth maintaining a list here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is, this information is parsed by the doclet. Would be nice to see what a Neighbor actually includes in the documentation I think!

private String coordinatorAddress;

/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈

@iotaledger iotaledger deleted a comment Nov 13, 2018
@iotaledger iotaledger deleted a comment Nov 13, 2018
@iotaledger iotaledger deleted a comment Nov 13, 2018
@iotaledger iotaledger deleted a comment Nov 13, 2018
@iotaledger iotaledger deleted a comment Nov 13, 2018
@iotaledger iotaledger deleted a comment Nov 13, 2018
@iotaledger iotaledger deleted a comment Nov 15, 2018
@iotaledger iotaledger deleted a comment Nov 15, 2018
@iotaledger iotaledger deleted a comment Nov 15, 2018
@iotaledger iotaledger deleted a comment Nov 15, 2018
@iotaledger iotaledger deleted a comment Nov 15, 2018
@iotaledger iotaledger deleted a comment Nov 15, 2018

/**
* The address of the Coordinator being followed by this node.
*/
private String coordinatorAddress;
Copy link
Contributor

@jakubcech jakubcech Nov 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The address of the coordinator whose transactions the node is approving.
or whose transactions the node accepts? 🤔 💭

@jakubcech jakubcech merged commit 1a82a40 into iotaledger:dev Nov 16, 2018
DyrellC pushed a commit to DyrellC/iri that referenced this pull request Nov 17, 2018
* DTO documented

* Added javadoc to API

* Updated DTO classes for better wording/grammar

* Removed final, changed HashSet to Set and merged if statement

* Fully documented all DTO

* Changed see to @see

* Changed approve to confirm

Co-Authored-By: kwek20 <[email protected]>

* Changed index to specific milestone index

Co-Authored-By: kwek20 <[email protected]>

* More feedback processed
@GalRogozinski GalRogozinski mentioned this pull request Dec 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants