status-im / status-protocol-go

Status Protocol implementation in Go
Mozilla Public License 2.0
0 stars 1 forks source link

Add confirmations for datasync messages. #48

Closed cammellos closed 5 years ago

cammellos commented 5 years ago

The signature of the Raw methods has been changed so that they return the application messageID. Clients will keep track of this ID and receive a notification through the envelopesMonitor of the state of the envelopes (sent/expired). Envelopes monitor is passed this ID as well. We use an array of IDs as datasync messages might be batched.

cammellos commented 5 years ago

@adambabik feedback addressed, ready to be reviewed again, thanks!