Skip to content

Display summary (mostly)#24

Merged
trstephen merged 1 commit intomasterfrom
trs/display-summary
Apr 1, 2017
Merged

Display summary (mostly)#24
trstephen merged 1 commit intomasterfrom
trs/display-summary

Conversation

@trstephen
Copy link
Member

  • Nothing for AutoTX commands
  • Nothing for error / aborted TXs
  • No opinion about how to return rest of account state (balance, etc). Implementation will depend on how FE wants data.

- Nothing for AutoTX commands
- Nothing for error / aborted TXs

pendingSell.Commit()

acct.AddSummaryItem("Finished " + cs.Name())
Copy link
Member Author

Choose a reason for hiding this comment

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

The repetition is bothering me...

if node != nil {
s = append(s, node.(summaryItem))
}
})
Copy link
Member Author

Choose a reason for hiding this comment

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

This is pretty gross (lots of memory allocation!) but I can't find a nice way to shrink slices. I want to only return non-emptysummaryItems...

@trstephen
Copy link
Member Author

Outstanding implementation points tracked with #25. Merging now to do profiling.

@trstephen trstephen merged commit d3e2bd3 into master Apr 1, 2017
@trstephen trstephen deleted the trs/display-summary branch April 1, 2017 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant