Shivaram Lingamneni
d4cb15354f
remove registeredChannelsMutex
This moves channel registration to an eventual consistency model,
where the in-memory datastructures (Channel and ChannelManager)
are the exclusive source of truth, and updates to them get persisted
asynchronously to the DB.
преди 6 години
Shivaram Lingamneni
9b74c47b74
rename some getters
Rename getters in conformance with the "Effective Go" styleguide recommendation:
https://golang.org/doc/effective_go.html#Getters
преди 6 години
Shivaram Lingamneni
94cf438f51
remove channelJoinPartMutex
преди 6 години
Shivaram Lingamneni
7b58bf76ef
make error recovery configurable
преди 6 години
Shivaram Lingamneni
fa83ccd82b
refactor synchronization for Channel
преди 6 години
Shivaram Lingamneni
7ccb485b50
add two getters
преди 6 години
Shivaram Lingamneni
e540fde816
refactor idle timeouts
преди 6 години
Daniel Oaks
4aa52956e5
Split isupport to its' own subpackage
преди 6 години
Shivaram Lingamneni
26686d7e86
refactor monitor and /oper implementations
преди 6 години
Shivaram Lingamneni
23a66fa502
fix various data races, including 2 introduced by #139
преди 6 години