-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
Description
- Implement core types and en/decoding
- Implement channel
- Implement packet
- Add transaction handler and datagram types
- Implement related RPCs
Datagrams
Mostly corresponded with required functions
ChanOpenInitChanOpenTryChanOpenAckChanOpenConfirmChanCloseInitChanCloseConfirmSendPacketRecvPacketAcknowledgePacket
These will not be implemented in PoC
TimeoutPcaketTimeoutOnCloseClenupPacket
RPCs
query_channel_end()query_packet_commitment()query_packet_acknowledgement()query_next_sequence_recv()query_latest_send_packet()query_latest_recv_packet()
Questions
- Why no port & channel here?
emitLogEntry("sendPacket", {sequence: packet.sequence, data: packet.data, timeout: packet.timeout})
Changes
- We always require
acknowledgementinrecv_packet()since we don't know the use case of non-ack.