Commit Graph

25 Commits

Author SHA1 Message Date
nkohen
33f57f4a3e Added getblockchaininfo and createrawtransaction functionality with tests (also fixed bug where bip125-replaceable needed to be read into field called bip125_replaceable) 2018-06-25 09:56:37 -05:00
Nadav Kohen
1675051c35 Created rpc project and added getNewAddress endpoint 2018-06-25 09:56:37 -05:00
Daniel James
0309675528 Refactor multi-module build
- separate Java source copied from libsecp256k1 into separate module
- split main module into core core-gen core-test
  - generators can be published separated to core code for use in
    3rd-party tests
- code coverage needs to be aggregated
2018-05-02 16:18:01 -04:00
Chris Stewart
11e365a511 Init for zmq, successfully parsing blocks from bitcoind
MVP working for zmq notifications

removing logging, making block header generators less likely to fail

subscribing earlier in zmq life cycle

refactoring some zmq stuff to remove excess Futures

Adding error condition to processMsg loop

changing error message in processMsg loop

refactoring ZMQSubscriber api to just take in Seq[Byte] functions

cleaning up nits, adding documentation, list shortcomings of current iteration
2018-04-25 10:29:59 -05:00
Chris Stewart
611609a11b bumping scalacheck version, fixing bug in CryptoGenerators.privateKeySeqWithRequiredSigs that could error if a negative number was passed in 2018-04-11 16:25:35 -04:00
Chris Stewart
ac323fb165 Refactor TxBuilder api to return a Future rather than a Either
removing superflous utxoMap in EscrowTimeoutHelper

Refactoring TxBuilder api to return a Future[Transaction] rather than a Either[Transaction, TxBuilderError

Removing TxBuilderSpec type aliases
2018-04-08 09:32:06 -05:00
Chris Stewart
3f895d4673 Changing verison to snapshot 2018-03-24 17:44:00 -05:00
Chris Stewart
146d76658d Changing spongycastle crypto dependency to the bouncy castle crypto dependnecy 2018-03-24 17:44:00 -05:00
Chris Stewart
37a6f366e8 Removing Build.scala file and moving things into build.sbt
Adding appName to project root
2018-03-24 12:40:02 -05:00
Chris Stewart
ccc27b97bd successfully signing p2wpkh spk types 2018-03-07 15:11:58 -06:00
Chris Stewart
7d1f87bf6f Adding abilility to create TransactionWitness from a Seq[Option[ScriptWitness]], adding checks to determine if a ScriptWitness is a P2WPKHWitnessV0 or a P2WSHWitnessV0 2018-03-07 15:11:58 -06:00
Chris Stewart
ca167cdeaf Breaking 'ScriptWitness' into two ADTs 'P2WPKHWitnessV0,P2WSHWitnessV0' and breaking 'WitnessScriptPubKeyV0' into two ADTs 'P2WPKHWitnessSPKV0, P2WSHWitnessSPKV0'
Adding abilility to create TransactionWitness from a Seq[Option[ScriptWitness]], adding checks to determine if a ScriptWitness is a P2WPKHWitnessV0 or a P2WSHWitnessV0

Deprecating some Transaction constructors that are dangerous

removing usages of deprecated Transaction constructors in bitcoin-s-core codebase

fixing nits
2018-02-18 16:19:28 -06:00
Chris Stewart
bedfacffb5 fix file name to long on encrypted directories 2018-01-22 10:15:12 -06:00
Chris Stewart
4e0766538c Implmenetation of ExtPrivateKey, passing BIP32 test vectors
ExtKey serialization symmetry spec passing

Derivation symmetry for non hardened indices

implement ExtKey.deriveChildPubKey

implementing invariants as they are specified in bip32, adding comments

Moving all ECKeys types into one file so we can create an ADT
2017-11-29 15:01:30 -06:00
Chris Stewart
5058abac74 Able to parse a List[ScriptToken] -> binary tree -> List[ScriptToken] for one set of test cases inside of ControlOperationsInterpreterTet -- this includes nested OP_IFs 2017-09-07 15:41:01 -05:00
Chris Stewart
905b3a53ae Updating sbt assembly plugin to 0.14.5
removing discard strategy for library.properties
2017-08-21 15:09:57 -05:00
Chris Stewart
beafa86372 refactoring Channel code to use WitnessTransactions instead of BaseTransactions 2017-08-10 13:13:34 -05:00
Chris Stewart
911e1c6051 Modifying assembly.sbt settings to not include relevant files to jar file 2016-09-02 21:01:33 -05:00
Chris Stewart
c5cf2f9964 Removing gen package from test coverage report 2016-07-17 10:35:03 -05:00
Chris Stewart
deeea0c304 Fixing bug with serialization of UInt64s, wasn't being padded correctly perviously 2016-06-27 10:50:50 -05:00
Chris Stewart
938e795d5a Merging in master, refactoring functions to CompactSizeUInt, adding BitcoinSUtilSpec, adding UInt64Spec 2016-06-20 14:28:38 -05:00
Chris Stewart
91419b5145 Adding scalacheck properties for creating UInt32s and adding UInt32s 2016-06-16 13:42:33 -05:00
Chris Stewart
0bb5bd8704 Moving apply(bytes) & apply(hex) into the Factory trait 2016-06-01 20:32:09 -05:00
TomMcCabe
cddcb165ae getblockcount test 2016-01-04 19:37:26 -06:00
Chris Stewart
dabe6396e5 Adding build files 2015-12-21 17:16:30 -06:00