result -> results

This commit is contained in:
Jacek Sieka 2020-04-07 11:56:25 +02:00 committed by zah
parent 0b110f3287
commit ec1492a65a
9 changed files with 18 additions and 18 deletions

View File

@ -10,9 +10,9 @@
{.push raises: [Defect].}
import nimcrypto/[bcmode, hmac, rijndael, pbkdf2, sha2, sysrand, utils, keccak],
eth/keys, json, uuid, strutils, stew/result
eth/keys, json, uuid, strutils, stew/results
export result
export results
const
# Version 3 constants

View File

@ -18,11 +18,11 @@
{.push raises: [Defect].}
import stew/[byteutils, endians2, result]
import stew/[byteutils, endians2, results]
from nimcrypto import stripSpaces
export result
export results
type
UUID* = object

View File

@ -16,11 +16,11 @@
import
nimcrypto/hash, nimcrypto/keccak, ./keys/secp,
stew/[byteutils, objects, result], strformat
stew/[byteutils, objects, results], strformat
from nimcrypto/utils import burnMem
export secp, result
export secp, results
const
KeyLength* = SkEcdhRawSecretSize - 1

View File

@ -12,12 +12,12 @@
import
strformat,
secp256k1,
stew/[byteutils, objects, result],
stew/[byteutils, objects, results],
nimcrypto/[hash, sysrand]
from nimcrypto/utils import burnMem
export result
export results
# Implementation notes
#
@ -93,7 +93,7 @@ type
# (`y` is 0x02 when pubkey.y is even or 0x03 when odd)
data*: array[SkEcdhRawSecretSize, byte]
SkResult*[T] = result.Result[T, cstring]
SkResult*[T] = Result[T, cstring]
##
## Private procedures interface

View File

@ -8,7 +8,7 @@
import
options, os, strutils, times,
stew/result, nat_traversal/[miniupnpc, natpmp],
stew/results, nat_traversal/[miniupnpc, natpmp],
chronicles, json_serialization/std/net
type

View File

@ -14,9 +14,9 @@
import eth/[keys, rlp], nimcrypto
import ecies
import stew/[byteutils, endians2, result]
import stew/[byteutils, endians2, results]
export result
export results
const
SupportedRlpxVersion* = 4'u8

View File

@ -13,10 +13,10 @@ import
chronos, stint, nimcrypto, chronicles,
eth/[keys, rlp],
kademlia, enode,
stew/result
stew/results
export
Node, result
Node, results
logScope:
topics = "discovery"

View File

@ -13,9 +13,9 @@
{.push raises: [Defect].}
import eth/keys, nimcrypto/[rijndael, bcmode, hash, hmac, sysrand, sha2, utils]
import stew/result
import stew/results
export result
export results
const
emptyMac* = array[0, byte]([])

View File

@ -12,10 +12,10 @@
{.push raises: [Defect].}
import stew/ranges/stackarrays, eth/rlp/types, nimcrypto, stew/result
import stew/ranges/stackarrays, eth/rlp/types, nimcrypto, stew/results
from auth import ConnectionSecret
export result
export results
const
RlpHeaderLength* = 16