mirror of
https://github.com/logos-storage/nim-mysticeti.git
synced 2026-01-24 16:33:07 +00:00
10 lines
212 B
Nim
10 lines
212 B
Nim
import std/random
|
|
import std/sequtils
|
|
import mysticeti
|
|
|
|
proc example*(_: type Transaction): Transaction =
|
|
discard
|
|
|
|
proc example*[T](_: type seq[T], length=0..10): seq[T] =
|
|
newSeqWith(rand(length), T.example)
|