rorp
d74a0560b8
[WIP] New Eclair RPC client ( #535 )
...
* [WIP] New Eclair RPC client
* channel, close, connect, getinfo, open, peers
* allchannels, allnodes, allupdates
* audit, channels, findroutetonode, forceclose, updaterelayfee
* Initial version of createinvoice
* ShortChannelId: improved error handling and scaladoc
* addressed the PR comments
* parseinvoice, payinvoice, getsentinfo, getreceivedinfo, sendtonode, sendtoroute
* unit tests
* addressed the PR comments
* ws, usablebalances, channelstats, networkfees, getinvoice, listinvoices
* addressed PR comments
* change eclair URL
* cleanup
* addressed comments
* fidex compiler warnings
* Eclair 0.3.1
* scaladoc
* cleanup
2019-07-03 13:38:56 -05:00
Torkel Rogstad
8fd9e0211c
Add main method for running Mdoc
...
This allows working on the website without
opening sbt at all. bloop run docs -- --watch
compiles all Mdoc sources and outputs it into
the correct directory.
2019-07-03 16:04:17 +02:00
Torkel Rogstad
9151a03782
Merge pull request #564 from torkelrogstad/2019-07-03-scaladoc-fix
...
Move Xsource flag into commonCompilerOpts
2019-07-03 12:55:43 +02:00
Ramon Boss
b3cdb6015c
add comment about checking required range in apply
2019-07-03 11:55:15 +02:00
Ramon Boss
ffcfe360a6
remove redundant function checkResult
2019-07-03 11:48:47 +02:00
Torkel Rogstad
6d2f2e9444
Move Xsource flag into commonCompilerOpts
...
For the last few builds publishing snapshots has failed.
This is because Scaladocs haven't been compiling with
the Xsource flag, which we need for 2.11/2.12 compat
reasons.
2019-07-03 11:21:19 +02:00
cwaldron97
3926030e24
need to figure out DOS regex handling
2019-07-02 15:53:18 -05:00
cwaldron97
b9471f460c
started changes need to fix that it looks for bitcoind.exe
2019-07-02 13:45:04 -05:00
Chris Stewart
243e6cb65b
Add case for empty bloom filter ( #561 )
2019-07-02 10:39:22 -05:00
Torkel Rogstad
0e8b7859bc
Merge pull request #560 from torkelrogstad/2019-07-02-logging
...
Tune down excessive logging
2019-07-02 13:57:00 +02:00
Chris Stewart
98e6e0ea67
2019 07 01 windows secp256k1 bin ( #559 )
...
* Add windows 64 bit binary
* Add more instructions to README about building windows binary
* a windows CI environment
* Add logic to detect windows os, windows binary has a different file name
* Add a signature for the windows 64 bit binary
2019-07-02 05:42:49 -05:00
Torkel Rogstad
6caaf1938a
Tune down excessive logging
2019-07-02 11:22:18 +02:00
Torkel Rogstad
d5a7b7aa0f
Merge pull request #534 from torkelrogstad/2019-06-17-wallet-transactions
...
Process incoming transactions
2019-07-02 11:19:57 +02:00
Torkel Rogstad
3fd96cf776
Have sampleSome do a maximum of 10 attempts
2019-07-01 19:02:01 +02:00
Torkel Rogstad
1d09bf7976
Merge pull request #488 from Christewart/2019-06-02-scalameter
...
Add scalameter test dependency and sbt settings
2019-07-01 14:23:50 +02:00
Chris Stewart
99ef45cce2
Add scalameter test dependency and sbt settings
2019-07-01 06:44:30 -05:00
Torkel Rogstad
157e3def15
Add annotated type to public method
2019-07-01 13:00:05 +02:00
Torkel Rogstad
121cdf326d
Merge pull request #556 from torkelrogstad/2019-06-28-logo
...
Add Bitcoin-S logo to git repo
2019-06-28 10:32:44 +02:00
Torkel Rogstad
6b731b4b4b
Add Bitcoin-S logo to git repo
2019-06-28 10:28:51 +02:00
Ramon Boss
e2585248d9
implement Ordered[T] instead of creating custom methods ( #553 )
...
* implement Ordered[T] instead of creating new methods for that
* remove new line
* implement Ordered in LnCurrencyUnit
* implement Ordered in MilliSatoshis
* implement Ordered in ScriptNumber
2019-06-27 09:02:34 -05:00
Torkel Rogstad
c2349c44c2
Rebase cleanup
2019-06-27 15:34:41 +02:00
Torkel Rogstad
50d56f78e4
Make NodeWithWalletTest properly falsifiable
2019-06-27 15:29:21 +02:00
Torkel Rogstad
f8e5ac19ba
Add TX generator for non-empty output TXs
2019-06-27 15:29:21 +02:00
Torkel Rogstad
6ffd505946
Add sampleSome method to scalacheck.Gen
2019-06-27 15:29:21 +02:00
Torkel Rogstad
0f5669bac3
Rename HDCHain.toAddress
2019-06-27 15:28:08 +02:00
Torkel Rogstad
c884b9c048
Fix bad comparison in ProcessTransactionTest
2019-06-27 15:28:08 +02:00
Torkel Rogstad
86517c0a6d
Replace incoming/outgoing TXs with TXOs
...
Rework the wallet DB model so that instead
of dealing with incoming and outgoing transactions
we deal with incoming and outgoing transaction
outputs.
2019-06-27 15:28:08 +02:00
Torkel Rogstad
454808abea
Add TX generators that pay to a given SPK
2019-06-27 15:28:08 +02:00
Torkel Rogstad
06b8375c81
Add ProcessTransactionTest
2019-06-27 15:28:08 +02:00
Torkel Rogstad
5a04260461
Update wallet integration tests
2019-06-27 15:28:08 +02:00
Torkel Rogstad
1eb80d82a1
Get rid of compiler warnings
2019-06-27 15:28:08 +02:00
Torkel Rogstad
e2ffba5d40
Add getUnconfirmedBalance to wallet
2019-06-27 15:28:08 +02:00
Torkel Rogstad
f5591f3c0f
Replace addUtxo with processTransaction
...
In this commit we replace addUtxo with
processTransaction in the wallet API. addUtxo
is kept around, but only as an internal
implementation detail.
The new flow looks like this:
1) The wallet gets notified about a new TX
through a processTransaction call
2) It then searches through our already
processed incoming TXs:
if found, updates the confirmation
status
else, inserts it into the DB
3) We then call addUtxo, if the previous
step resulted in a new TX in our
DB
2019-06-27 15:28:08 +02:00
Torkel Rogstad
79b7455b38
Move ID in UTXO DB models for more ergonomic functions
2019-06-27 15:28:08 +02:00
Torkel Rogstad
5513344373
Add findTx to IncomingTxDAO
2019-06-27 15:28:08 +02:00
Torkel Rogstad
e2278f7606
Get UTXO DB unit tests passing
2019-06-27 15:28:08 +02:00
Torkel Rogstad
88e318d485
Move WalletDAOs to testkit
2019-06-27 15:28:08 +02:00
Torkel Rogstad
b630cfbf5c
Generalize DAO fixture for wallet
2019-06-27 15:28:08 +02:00
Torkel Rogstad
ff5b1c25f1
Add foreign key on UTXOs to incoming transactions
2019-06-27 15:28:08 +02:00
Torkel Rogstad
fd0af6fd20
Add tx tables to WalletDbManagement
2019-06-27 15:28:08 +02:00
Torkel Rogstad
b3600f4888
DB loggers exposed in logging configuration
2019-06-27 15:28:08 +02:00
Torkel Rogstad
75bf52a431
Add toAddress on HDChain
2019-06-27 15:28:08 +02:00
Torkel Rogstad
4435d942d9
Create DBs transactionally
2019-06-27 15:28:08 +02:00
Torkel Rogstad
bdd0468383
Add tables for incoming and outgoing transactions
2019-06-27 15:28:08 +02:00
Torkel Rogstad
e4e9ec9db9
Add SPK field to AddressTable
2019-06-27 15:23:23 +02:00
Torkel Rogstad
13deceab30
Move utxos into wallet test util
2019-06-27 15:23:23 +02:00
Torkel Rogstad
db1987b36a
Merge pull request #546 from torkelrogstad/2019-06-21-aes-cfb
...
Use key based encryption in AesCrypt
2019-06-27 12:16:53 +02:00
Torkel Rogstad
da9fa4d385
Move util function into test where it's used'
2019-06-27 11:22:02 +02:00
Torkel Rogstad
66524f8c43
Respond to code review from Chris
2019-06-26 17:24:50 +02:00
Torkel Rogstad
000fe1e2ef
Merge pull request #431 from nkohen/coin-selection
...
Basic Coin Selection
2019-06-26 13:13:27 +02:00