Skip to content
#

decentralization

Here are 185 public repositories matching this topic...

go-spacemesh
lrettig
lrettig commented Aug 12, 2020

Description

The protobuf types derived from the API get nested pretty deep and filling them out can be pretty ugly, see for instance:

https://github.com/spacemeshos/go-spacemesh/blob/dc5e05ece84fdb093e34d522e854573a8d4a6b67/api/grpcserver/globalstate_service.go#L370-L377

It would be cleaner to wrap these in straightforward constructors that take the required data (e.g., in this case, acc

AnthonyAkentiev
AnthonyAkentiev commented Jul 20, 2018

"но надо будет думать, как решить эту траблу нормально (походу только через isCanDo(“startVoting”) и isCanDo(“finishVoting”))

то есть сейчас owner токенов - это DAO
можно туда добавить методы startVoting() isCanDo();
и
finishVoting() isCanDo() а в StdDaoToken оставить только onlyOwner потом"

Improve this page

Add a description, image, and links to the decentralization topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the decentralization topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.