Commit Graph

1063 Commits

Author SHA1 Message Date
Noah Cornwell
4665f0543e Make it compile 2018-04-30 17:24:20 -04:00
Noah Cornwell
294ed10361 POC for threading model in ZMQ subscriber 2018-04-30 17:24:19 -04:00
Chris Stewart
7698f95725 Merge pull request #153 from Christewart/zmq
Adding more logging around zmq connection
2018-04-27 10:27:05 -04:00
Chris Stewart
d4bef008e5 Adding more logging around zmq connection 2018-04-27 08:54:42 -05:00
Chris Stewart
d4fc39f938 Merge pull request #151 from Christewart/zmq
Zmq
2018-04-26 11:13:53 -04:00
Chris Stewart
a085743287 Merge pull request #152 from Christewart/fix_secp256k1_submodule
Adding specific commit for secp256k1
2018-04-26 11:09:44 -04:00
Chris Stewart
5054c23320 Adding specific commit for secp256k1
updating secp256k1 submodule to bitcoin-s repo link
2018-04-25 16:44:48 -05: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
7afca25337 Merge pull request #150 from Christewart/add_funding_info
Adding 'FundingInfo' abstract class to pair together unsignedTxs and …
2018-04-24 11:07:46 -04:00
Chris Stewart
9e149e9efb Adding 'FundingInfo' abstract class to pair together unsignedTxs and the utxos used to fund them
rename 'unsignedTx' -> 'transaction' in FundingInfo trait
2018-04-24 09:43:22 -05:00
Chris Stewart
4e938065f2 Merge pull request #149 from Christewart/add_hashdigest_endianness_flip
Adding helper function to flip hash's endianness, adding helper funct…
2018-04-20 11:19:33 -04:00
Chris Stewart
02e1c67d9e Adding helper function to flip hash's endianness, adding helper functions to access big endian encodings of block hashes, tx hashes etc 2018-04-20 09:57:34 -05:00
Chris Stewart
f8fa45624e Merge pull request #148 from Christewart/reduce_logging_in_scalacheck
reduce logging in scalacheck
2018-04-20 10:30:16 -04:00
Chris Stewart
194aaf0faa reduce logging in scalacheck 2018-04-19 20:06:03 -04:00
Chris Stewart
6e0c705699 Merge pull request #147 from Christewart/dummy_sign
Adding dummy sign method inside of Sign
2018-04-18 09:11:56 -04:00
Chris Stewart
9bece40d46 Adding dummy sign method inside of Sign 2018-04-18 07:44:58 -05:00
Chris Stewart
375bb02d1c Merge pull request #146 from Christewart/sign_api_non_opt_pubkey
Refactoring Sign api to force the publicKey to be included
2018-04-17 13:17:19 -04:00
Chris Stewart
21dbe1fe8b Refactoring Sign api to force the publicKey to be included 2018-04-17 11:47:56 -05:00
Chris Stewart
7a9f73ed8d Merge pull request #145 from okayplanet/master
README typo correction
2018-04-17 11:56:43 -04:00
okayplanet
18a548a5f3 README typo correction 2018-04-14 19:41:32 -07:00
Chris Stewart
d8a1e5edc9 Merge pull request #144 from Christewart/bump_scalatest_v
bumping scalacheck version, fixing bug in CryptoGenerators.privateKey…
2018-04-11 16:29:44 -04: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
ba3f5dcd13 Merge pull request #138 from Christewart/refactor_tx_builder_future
Refactor tx builder future
2018-04-11 11:03:47 -04:00
Chris Stewart
b691cd041e refactoring the execution context stuff in Signer, ECPrivateKey, ECPublicKey 2018-04-08 09:32:06 -05: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
24af345146 Merge pull request #143 from Christewart/ec_pubkey_compress_decompress
Ec pubkey compress decompress
2018-04-05 13:25:27 -04:00
Chris Stewart
4e7ff58b0c Adding funcitonality in ECPublicKey to return the decompressed version of the pubkey 2018-04-05 11:57:22 -05:00
Chris Stewart
583d2eb5ff Merge pull request #142 from Christewart/address_fromBase58
Adding  functions into all address types
2018-04-05 12:56:33 -04:00
Chris Stewart
5ee167e60d Merge pull request #141 from Christewart/interpreter_run_verify
Add runVerify, runAll, and runAllVerify helper methods in ScriptInter…
2018-04-05 11:59:42 -04:00
Chris Stewart
d4eea28d72 Adding functions into all address types
Adding fromString into Address object
2018-04-05 10:50:39 -05:00
Chris Stewart
9c93c58954 Add runVerify, runAll, and runAllVerify helper methods in ScriptInterpreter
Fixing bug in ScriptInterpreter.runAllVerify
2018-04-05 09:27:48 -05:00
Chris Stewart
743820cf8a Merge pull request #140 from Christewart/compressed_pubkey_segwit_bug
Fixing bug where we were enforcing ScriptErrorWitnessTypePubKey on no…
2018-04-03 20:29:38 -04:00
Chris Stewart
84aa8678e7 Fixing bug where we were enforcing ScriptErrorWitnessTypePubKey on non segwit public keys 2018-04-03 16:38:56 -05:00
Chris Stewart
8cd3f7b207 Merge pull request #137 from Christewart/add_Script_fromAsmBytes
Creating 'fromAsmBytes' and 'fromAsmHex' in ScriptFactory
2018-03-29 10:04:19 -04:00
Chris Stewart
69f7580ce9 Creating 'fromAsmBytes' and 'fromAsmHex' in ScriptFactory 2018-03-28 20:01:54 -05:00
Chris Stewart
4157b05465 Merge pull request #134 from Christewart/master
Reformatting with new scalariform version for sbt 0.13.17
2018-03-28 12:37:29 -04:00
Chris Stewart
f8a13fa3ab Reformatting with new scalariform version for sbt 0.13.17 2018-03-28 10:23:02 -05:00
Chris Stewart
45fe16ab5f Merge pull request #132 from mecampbellsoup/bump-sbt-version
Bump SBT version to 0.13.17
2018-03-28 07:44:24 -04:00
mecampbellsoup
8f23b963c9 Bump SBT version to 0.13.17 2018-03-27 14:03:56 -04:00
Chris Stewart
55bb4fceae Merge pull request #131 from Christewart/master
Add gitter tag
2018-03-27 13:47:12 -04:00
Chris Stewart
6400dfba50 Add gitter tag 2018-03-27 10:56:43 -05:00
Chris Stewart
9a2f626ff0 Merge pull request #128 from mecampbellsoup/reformat-with-scalariform-plugin
Reformatting using scalariform
2018-03-26 14:26:04 -04:00
mecampbellsoup
c6cac3eae9 Reformatting using scalariform 2018-03-26 12:27:23 -04:00
Chris Stewart
3d2a4a55a2 Merge pull request #130 from Christewart/spongcastle_to_bouncycastle
Spongcastle to bouncycastle
2018-03-25 09:35:55 -04: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
9a754b9ac1 Merge pull request #129 from Christewart/build_scala_to_build_sbt
Removing Build.scala file and moving things into build.sbt
2018-03-24 18:43:14 -04: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
5bce950932 Merge pull request #126 from Christewart/rm_size_requirements_for_address
remove size requirements for address
2018-03-21 20:40:23 -04:00
Chris Stewart
2a2cf38a71 fixing bug in WIF parsing for multiple networks 2018-03-21 19:05:57 -05:00