mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-07-28 23:43:13 +00:00
* change all usage of std.options.Option[T] to results.Opt[T] * fix broken apps and examples (to validate refactor) * removed all std/options code added for libp2p v2 migration * add broker Opt codec to persistency/backend_comm.nim * add a readValue overload for Opt[T] in tools/confutils/cli_args.nim * keep Option where required (Presto, confutils' config_file.nim) * Change generateRlnProof error handling * Fix imports
13 lines
260 B
Nim
13 lines
260 B
Nim
import results
|
|
|
|
# Implementing the RFC:
|
|
# https://github.com/vacp2p/rfc/tree/master/content/docs/rfcs/73
|
|
|
|
type
|
|
EligibilityProof* = object
|
|
proofOfPayment*: Opt[seq[byte]]
|
|
|
|
EligibilityStatus* = object
|
|
statusCode*: uint32
|
|
statusDesc*: Opt[string]
|