configuration from config

This commit is contained in:
Sergey Cherepanov authored and Mikhail Iudin committed 2022-08-24 00:40:14 +03:00
1 parent 8a058b8b23
commit fe2c8bdade
4 files changed
+70 -23

No files matched your search

+8
View File
@@ -24,6 +24,14 @@ type Node struct {
EncryptionKeyString string
}
func (n *Node) Id() string {
return n.PeerId
}
func (n *Node) Capacity() float64 {
return 1
}
func New() app.Component {
return &service{}
}