Skip to content

Node.send should not take Message #51

@decanus

Description

@decanus

Problem

The node.send function currently takes an argument of the type Message this isn't optimal as we cannot expect endusers to know all those fields.

Acceptance Criteria

There are 3 functions, each for sending a message.

Sending to an address:

send(to: UBID, message: Data)

Sending to a service:

send(service: UBID, message: Data)

Sending to an address and service, this function is called by the above functions.

send(to: UBID, service: UBID, message: Data)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions