Adding ECKeys and interface for checking transaction signatures

This commit is contained in:
Chris Stewart 2016-02-16 18:04:18 -06:00
parent 4e93ff3e37
commit c15273a722
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,11 @@
package org.scalacoin.crypto
/**
* Created by chris on 2/16/16.
*/
trait ECKey {
def privateKey : Option[ECPrivateKey]
def publicKey : ECPublicKey
}
case class ECKeyImpl(privateKey : Option[ECPrivateKey], publicKey : ECPublicKey) extends ECKey

View File

@ -0,0 +1,9 @@
package org.scalacoin.crypto
/**
* Created by chris on 2/16/16.
*/
trait TransactionSignatureChecker extends BaseSignatureChecker {
}