Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

RFC: Tangle API #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

RFC: Tangle API #23

wants to merge 1 commit into from

Conversation

zesterer
Copy link
Contributor

@zesterer zesterer commented Oct 24, 2019

@zesterer zesterer changed the title Added initial draft of Tangle RFC RFC: Tangle API Oct 24, 2019
text/0000-tangle/0000-tangle.md Outdated Show resolved Hide resolved
@zesterer
Copy link
Contributor Author

zesterer commented Oct 30, 2019

Considerations (mostly for my benefit):

  • Internal mutability (concurrent hashmap, RefCell for each vertex)
  • Async API for Tangle (to permit interaction with database)
  • Database is largely insert-only and immutable

tsvisabo
tsvisabo previously approved these changes Nov 13, 2019
let vertices = &mut self.vertices;
let txs_to_approvers = &self.txs_to_approvers;

// The algorithm is recursive, but we don't want to use the stack

Choose a reason for hiding this comment

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

this comment is confusing since we are using a stack :)

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 should definitely clarify what I mean by that comment.

* Initial commit

* Added Drawbacks, Rationale and Unresolved questions sections

* Fixed tryte string example

* Addressed ternary issues, renamed RFC document

* Encoding information, fixed shortened phrases, minor formatting changes

* Simplified example with new API features, minor fixes

* Removed 'we' from ternary RFC

* Consistent punctuation in ternary RFC

* Extra encoding information for Trits and TritBuf

* Added zero-cost explanation

* Updated feature name

* Fixed URL
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants