rpcclient: add doc link to notifications ordering guarantees

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2023-11-29 13:53:45 +03:00
parent 76261f1605
commit 6fdda0f15d

View file

@ -43,6 +43,10 @@ import (
// unblocking in this mode. No unsubscription is performed in this case, so it's // unblocking in this mode. No unsubscription is performed in this case, so it's
// still the user responsibility to unsubscribe. // still the user responsibility to unsubscribe.
// //
// All Receive* methods provide notifications ordering and persistence guarantees.
// See https://github.com/nspcc-dev/neo-go/blob/master/docs/notifications.md#ordering-and-persistence-guarantees
// for more details on this topic.
//
// Any received subscription items (blocks/transactions/nofitications) are passed // Any received subscription items (blocks/transactions/nofitications) are passed
// via pointers for efficiency, but the actual structures MUST NOT be changed, as // via pointers for efficiency, but the actual structures MUST NOT be changed, as
// it may affect the functionality of other notification receivers. If multiple // it may affect the functionality of other notification receivers. If multiple