Chris Stewart
a7920b7512
Fix package path for CryptoGenerators ( #365 )
2019-02-28 06:46:58 -06:00
Torkel Rogstad
db5a7254b9
BIP39 support ( #353 )
...
* Adds SHA256 hashing of BitVector
* Add BIP39 support
2019-02-28 06:13:37 -06:00
Torkel Rogstad
25fa009b95
Rework Bech32 ( #360 )
...
Refactor commonalities between LN and BTC
Add support for RegTest
2019-02-27 15:55:41 -06:00
Torkel Rogstad
bad37db6fa
Adds Ammonite REPL in test scope ( #323 )
2019-02-26 06:16:12 -06:00
Nadav Kohen
a0c1ab91b4
testkit refactor (rename and repackage) ( #355 )
...
* Refactored testkit to have a package called testkit and renamed AsyncUtil and TestUtil, ran scalafmt
* Updated internal file names list
2019-02-21 10:04:31 -06:00
Torkel Rogstad
0e9e021ad7
Updates READMEs for root, testkit and zmq ( #356 )
2019-02-21 07:44:33 -06:00
Chris Stewart
3e7d1d4461
Update readme with new version ( #350 )
2019-02-19 18:53:10 -06:00
Chris Stewart
cf4d80626a
Clean up compiler warnings ( #349 )
2019-02-19 14:44:44 -06:00
Chris Stewart
88e6450c5a
Reduce number of requests we send to eclair in testkits, add commandN… ( #343 )
...
* Reduce number of requests we send to eclair in testkits, add commandName param to parseResult in EclairRpcClient
* Factor our EclairRpcClient error message
* Make jvm opts more sane, refactor error message code again
* Add error message on EclairRpcTestUtil.sendPayments, scalafmt
2019-02-19 14:18:37 -06:00
Nadav Kohen
abc6f55a08
transformRetryToTestFailure in scala 2.11.12 ( #346 )
...
* Made transformRetryToTestFailure compile in scala 2.11.12
* Fixed RpcUtilTest
* Replaced match with if/else because match wasn't working
2019-02-19 13:00:43 -06:00
Chris Stewart
7633bf6179
Add more tests to bump test coverage ( #345 )
2019-02-19 10:34:23 -06:00
Nadav Kohen
8a491022fa
Better test error messages ( #336 )
...
* Improves error messages in with testkit
* Added the changes to BitcoindRpcTestUtil and EclairRpcTestUtil
* Responded to code review
2019-02-18 19:28:54 -06:00
Chris Stewart
0c4556a301
Put tests for bitcoind-rpc and eclair-rpc into a separate project to … ( #341 )
...
* Put tests for bitcoind-rpc and eclair-rpc into a separate project to get rid of circular dependency
* Modify travis yml file to get rid of all testkit stuff
* rename rpc project to bitcoind-rpc project
* Add bitcoind-rpc test cases that got deleted accidentally
* Add more files missing from bitcoind-rpc-test
* Remove circular deps part on CONTRIBUTING.md
2019-02-18 09:57:18 -06:00
Chris Stewart
2879d9c25c
2019 02 14 fix digital signature bug ln invoice ( #337 )
...
* Fix bug of sign issue when serializing r,s ln invoice signatures, we weren't using the proper sign in some rare cases. We always want the BigInteger to be non-negative for r,s
* Fixing initialization problem with EmptyDigitalSignature
* revert default Deps.scala bitcoinsV to published version
* Address code review nits
* remove negative ln currency unit test case
2019-02-16 16:04:31 -06:00
Torkel Rogstad
696e9f4c45
Add BasicArithmetic trait ( #329 )
...
* Add BasicArithmetic to MilliSatoshis
* Add BasicArithmetic
* Add LnCurrencyUnit, CurrencyUnit, Number to BasicArithmetic
* Add tests for BasicArithmetic
* Make logger in unit test class protected and annotated
* Use BitcoinSUnitTest class
* Address code review
2019-02-16 15:19:00 -06:00
Chris Stewart
15160eccc6
Fix bench project configuration ( #338 )
2019-02-16 14:54:17 -06:00
Chris Stewart
dc4def1d7f
Bump scalac to 2.12.8 ( #340 )
...
* Bump scalac to 2.12.8
* Bump scalac in .travis.yml
2019-02-16 14:52:04 -06:00
Chris Stewart
fe4d26858c
Add bitcoin-s unit test class, all unit tests going forward should extend this ( #335 )
2019-02-15 07:13:33 -06:00
Chris Stewart
614efece23
Fix initialization problem with LnInvoice and the separator char ( #334 )
2019-02-14 07:16:15 -06:00
Chris Stewart
e3a99f085f
Add explicit test cases for parsing an htlc ( #333 )
2019-02-13 08:56:24 -06:00
Chris Stewart
50aa66404c
Change Factory to an abstract class ( #330 )
2019-02-07 19:58:39 -06:00
Chris Stewart
b44c7af53d
Make start methods return Future[Unit] ( #328 )
...
WIP: Refactoring EclairTestUtil to use Futures
Finished refactor EclairTestUtil to use futures
Address code review
fix async bug in chan opening
Change snapshot version to something that should compile
2019-02-07 19:58:18 -06:00
Torkel Rogstad
065a2a45d6
Get Eclair data dir from config in EclairAuthCredentials ( #326 )
...
* Get Eclair data dir from config in EclairAuthCredentials
* Removes faulty datadir opt
* Include datadir in EclairInstance.fromDatadir
2019-02-04 10:05:40 -06:00
Chris Stewart
77d0f98f95
remove response trace log ( #325 )
2019-02-04 06:27:36 -06:00
Torkel Rogstad
9fd5f52b98
Default param in Eclair RPC fromDatadir, tweaks ChannelUpdate RPC type ( #324 )
...
* Add default param to fromDatadir, fromConfigFile method, default bitcoind rpc port
* Set ChannelUpdate.htclMaximumUpdate to Option
2019-02-04 06:02:30 -06:00
Chris Stewart
6dce938f06
rm usage of getSimpleName, as it breaks logback logging schemes ( #322 )
2019-02-03 10:51:31 -06:00
Chris Stewart
375acfd65e
add logs in eclair rpc client for requests and responses ( #321 )
2019-02-02 17:22:13 -06:00
Torkel Rogstad
8a203e881f
Fixes conversion bug when sending with Eclair RPC ( #318 )
...
* Improved toString for LnCurrencyUnit
* Test for amount equality in RPC send methods
* Fix conversion bug in Eclair RPC client
* Version bump
2019-02-01 09:13:25 -06:00
Chris Stewart
4fa376eac9
Make timestamp a lazy val outside of versioning code ( #317 )
...
* Make timestamp a lazy val outside of versioning code
* revert bitcoin-s snapshot to something that is published
2019-01-30 04:38:15 -06:00
Torkel Rogstad
8bbd4e0631
Adds audit RPC call + test ( #314 )
2019-01-28 18:15:02 -06:00
Torkel Rogstad
9257a53fde
Adds feebaseMsat and proportional fees for ChannelResult ( #312 )
...
* Adds feebaseMsat and proportional fees for ChannelResult
* Fixes updaterelayfee
2019-01-28 18:11:00 -06:00
Torkel Rogstad
bdf589cdc7
updates osx binaries ( #308 )
...
* updates osx binaries
* Add doc on binary signing
2019-01-28 09:55:56 -06:00
Chris Stewart
8ff839c2a6
Add sbt-git plugin, reformat snapshot versioning scheme ( #309 )
2019-01-23 10:23:05 -06:00
Chris Stewart
f0f34e2eb5
Add network call to eclair api ( #310 )
2019-01-23 10:22:45 -06:00
Torkel Rogstad
e068382701
findroute RPC call tests/types ( #301 )
...
* Improved toString methdos
* Eclair RPC for findroute
* ConfigUtil for getStringOrElse
* Scaladoc
* Version bump
* Typed ChannelDesc a and b fields
2019-01-23 08:45:46 -06:00
Torkel Rogstad
308384b2af
Adds README notes on how to add Bitcoin-S in Ammonite ( #300 )
2019-01-21 07:12:03 -06:00
Torkel Rogstad
dec5bf0c14
Scaladoc ( #296 )
...
* Scaladoc formatting
* Adds sbt-api-mappings plugin
2019-01-21 06:36:39 -06:00
Torkel Rogstad
4761679b45
Update rpc README ( #306 )
2019-01-21 06:28:57 -06:00
Torkel Rogstad
2b7212905a
Tunes scoverage ( #303 )
2019-01-20 14:57:16 -06:00
Torkel Rogstad
8180a22377
Adds Bitcoin-S static site ( #299 )
2019-01-18 06:34:27 -06:00
Torkel Rogstad
fd2c39abff
Improves types for Eclair RPC ( #298 )
...
* Improves types for Eclair RPC
* Version bump
* Adds note in README.md on where artifacts are published
2019-01-18 06:34:08 -06:00
Chris Stewart
ab95053af8
version 0.0.3 ( #290 )
...
* version 0.0.3
* Fix cross compile issues so we can now compile and publish a dependency for the scala 2.11 series
scalafmt
* bump versions on readme, try to fix scoverage crossversion issue
* Downgrade scoverage to try and get it to work with ci
* Tinker with scoverage versions
* Add suggestion from scoverage people to exclude secp256k1jni from build coverage
2019-01-10 09:07:18 -06:00
Torkel Rogstad
22f8b35700
Scaladoc formatting ( #295 )
2019-01-10 08:54:57 -06:00
sken
4c7a3731f1
fix uncaught exception in ScriptNumber ( #293 )
2019-01-09 13:29:59 -06:00
Torkel Rogstad
edcf097b2a
Scaladoc formatting ( #292 )
2019-01-09 08:57:30 -06:00
Chris Stewart
268e235b4d
Add secp256k1jni readme, start working main project readme, move old readme to core/README.md ( #276 )
...
Add documentation for TxBuilder
Try to fix links on core/README.md
add readme badges for bintray
Nits and formatting of README (#23 )
ran scalafmt, fixed format in secp readme
2019-01-08 09:29:06 -06:00
Torkel Rogstad
aa65b783cc
Scaladoc formatting ( #287 )
2019-01-08 05:55:33 -06:00
Chris Stewart
a2504ba6d7
Bump version to 0.0.3-SNAPSHOT
2019-01-07 19:37:42 -06:00
Nadav Kohen
cc04732e41
RpcRetryException ( #274 )
...
* Created RpcRetryException for better error messages on RpcUtil timeouts
* De-duplicated RpcUtil
* Ran scalafmt
* Fixed an import and a version
2019-01-07 16:49:17 -06:00
Torkel Rogstad
1301336231
Adds typesafe-config parsing of bitcoin.conf ( #279 )
...
* Adds typesafe-config parsing of bitcoin.conf
Adds ZmqConfig trait
* Only add datadir if not present
* Use old and new config settings
2019-01-07 09:30:59 -06:00