storj/multinode
Clement Sam 137641f090 multinode/nodes: pass Node entity to Add method instead of set of a parameters
The Add method on the multinode DB interface accepts
a set of parameters which are already fields in the nodes.Node struct
excluding the name field.

When adding a new node, you're forced to call UpdateName() method
after calling the Add() method in order to save a node and update
the name.

This change allows passing the nodes.Node entity which includes
the name field. With this, a new node can be added together with
the name without invoking the UpdateName() method.

Change-Id: I281ec628dffaade35d6db4479a84f39636200072
2021-12-15 12:39:24 +00:00
..
bandwidth multinode: handling offline nodes added 2021-07-07 13:25:32 +00:00
console multinode/nodes: pass Node entity to Add method instead of set of a parameters 2021-12-15 12:39:24 +00:00
multinodedb multinode/nodes: pass Node entity to Add method instead of set of a parameters 2021-12-15 12:39:24 +00:00
nodes multinode/nodes: pass Node entity to Add method instead of set of a parameters 2021-12-15 12:39:24 +00:00
operators multinode: handling offline nodes added 2021-07-07 13:25:32 +00:00
payouts multinode: handling offline nodes added 2021-07-07 13:25:32 +00:00
reputation multinode/reputation: add vetted at timestamp 2021-07-07 18:11:54 +03:00
storage multinode: handling offline nodes added 2021-07-07 13:25:32 +00:00
peer.go multinode/console: embed web assets 2021-07-12 18:51:24 +03:00