Sets weight for existing node.
| nodeId |
node identifier. |
| weight |
positive node weight. |
|
Result.ok(true/false) where false means node does not exist, or Result.error(RendezvousHashError.INVALID_ARGUMENT) for invalid input. |