Chris Stewart
2b087a131b
2018 11 24 scala 2.12 warnings ( #251 )
...
* fixing compiler warnings for core module
* fix rpc project compiler warnings for scalac 2.12
* revert default scala version to 2.11.12
2018-11-25 14:51:36 -05:00
Chris Stewart
4620345ebe
2018 11 21 performance improvements ( #249 )
...
* Change ScriptConstant members from def to val
change all stuff in org.bitcoins.script.constant._ to actually be constant , this seems to improve performance from rudimentary bench marks by 2x
* rework RawSerializerHelper.writeCmpctSizeUInt to remove extra loop
* Fix bug where P2WPKHWitnessV0/P2WSHWitnessV0 didn't extend ScritpWitnessV0, add a few optimizations in ScriptWitness
2018-11-23 20:56:19 -05:00
Chris Stewart
f9dafb6ebb
Remove annoying logs
2018-11-18 18:37:26 -05:00
Chris Stewart
a5bdda8d94
Add compiler options for the Compile scope
2018-11-18 18:37:26 -05:00
Chris Stewart
9a82a3e884
Optimize RawBitcoinSerializer.parseCmpctSizeUIntSeq to use a builder rather than just manually appending time. Seems to speed up performance on the two test vectors in BlockTests by ~1s
2018-11-18 11:18:36 -05:00
Chris Stewart
b211d3408d
implement p2sh(p2wpkh) inside of the interpreter and TxBuilder ( #207 )
...
fix bug in P2SHScriptSignature.redeemScript
uncommenting the fuzz tests
Add p2sh(p2wsh) test vectors from BIP143
Fix possible index out of bounds exception w/ updating an EmptyWitness
2018-10-01 10:00:44 -04:00
Chris Stewart
9db5180d6f
bump sbt to 1.1.6, bump scalac version to 2.11.12
...
Adding compilerOpts, adding commonSettings across projects
2018-08-26 12:44:25 -05:00
Chris Stewart
1799fa3227
removing scoded.bits prefix from application code
...
Finishing scodec.bits refactor
2018-08-10 14:01:14 -05:00
Daniel James
cd794d9ee3
scodec
...
Migration to scodec
Src is compiling
tests compiling
All unit tests passing now
fix compiler issue in ScriptParser
bump timeout to run on travis ci
Fixing two unit tests that had types failing
Turn down excessive logging
Uncomment rpc tests
fixing nits
2018-08-09 21:32:17 -05:00
Chris Stewart
88c0af2b39
Add invariant that doesn't allow segwit scripts to be created with uncompressed public keys
...
reset scalafmt for rpc/
Removing unit test that used uncompressed public key for P2WSH, removing extra debug
2018-07-22 14:10:01 -05:00
nkohen
1a2bcfa552
cleanup of ScriptSignature in tests
2018-06-25 09:56:37 -05:00
nkohen
a58c126010
Made BitcoinFeeUnit extend FeeUnit and SatoshisPerByte, SatoshisPerVirutalByte extend BitcoinFeeUnit
2018-06-06 13:45:26 -05:00
Chris Stewart
e0c69c1497
refactor hash type to derive the byte from the underlying int32, refactor some other things to make hash type nicer
2018-06-01 13:04:41 -05:00
Nadav Kohen
b87e27e54b
Added sequence parameter to coinbase and removed fruitless type test
2018-05-31 10:57:36 -05:00
Chris Stewart
f416cdb3f1
Merge pull request #167 from TannerR1776/master
...
Move maxPublicKeysPerMultiSig to Consensus
2018-05-31 11:44:46 -04:00
Tanner Rogers
828ac04ba4
Move maxPublicKeysPerMultiSig to Consensus
2018-05-31 06:22:30 -05:00
Chris Stewart
47eb797593
overflow bug fix didn't quite account for every overflow possibility
2018-05-29 11:47:34 -05:00
Chris Stewart
33a6edf9bf
Fix overflow bug with parsing script with OP_PUSHDATA4
2018-05-28 19:47:56 -05:00
Nadav Kohen
04bb83ec4c
Made HashDigest extend NetworkElement
2018-05-25 10:03:15 -05:00
Chris Stewart
6fbe78d54a
Refactoring TransactionSignatureSerializer to only take TxSigCompnents
...
Cleaning up nits
2018-05-22 06:00:53 -05:00
Chris Stewart
c2bbd00110
Changing TxSigComponent to take a TransactionOutput instead of a ScriptPubKey, refactoring ScriptProgram into 3 companion objects PreExecutionScriptProgram, ExecutionInProgressScriptProgram, ExecutedScriptProgram
2018-05-19 09:25:32 -05:00
Chris Stewart
225640e7e2
Changing Transaction, BlockHeader version type from UInt32 -> Int32 to reflect what the bitcoin protocol actually is
2018-05-16 09:13:31 -04:00
Chris Stewart
cc5001b59f
Adding AddressFactory.fromStringExn to throw the exception instead of returning a Try
2018-05-11 09:00:51 -05:00
Chris Stewart
f00ed4a9e5
:# This is a combination of 2 commits.
...
Create AddressFactory interface for creating addresses, adding toString method to print address string
Adding isValid to AddressFactory
2018-05-10 10:27:56 -05:00
Chris Stewart
4ccf3052e7
Exposing the TxBuilder.unsignedTx field -- this gives developers access to building a tx with a TxBuilder, but allows them to sign the tx out of band
2018-05-03 19:10:50 -05:00
Daniel James
20c47323cc
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