DJDNS / go-deje

Golang library for DEJE Next, a protocol/technology for decentralized document hosting and concurrent editing.
GNU Lesser General Public License v2.1
8 stars 0 forks source link

Event.GetHistory #11

Closed MaddieM4 closed 10 years ago

MaddieM4 commented 10 years ago
// Returns an slice of events, starting with the root, and ending with the given (e).
// If the event has no "solid" root (points to an unknown event), history slice will
// be nil and ok will be false.
func (e *Event) GetHistory() (history []*Event, ok bool) {
    ...
}