This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import CryptoKit | |
typealias TxID = Int | |
typealias BlockID = Int | |
typealias Time = Int | |
typealias Amount = Int | |
typealias PrivateKey = P256.Signing.PrivateKey | |
typealias PublicKey = P256.Signing.PublicKey | |
typealias Signature = P256.Signing.ECDSASignature |