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
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
Torkel Rogstad
927744ce9c
Add XSource:2.12 flag
2019-06-26 11:27:58 +02:00
Torkel Rogstad
da8c6d0f4b
Use explicit constructor for creating AesSalt
...
This fixes a stack overflow bug where calling
fromBytes called .apply(ByteVector) which called
fromBytes which etc...
2019-06-26 11:26:38 +02:00
Torkel Rogstad
017fad25b1
Merge pull request #547 from cwaldron97/2019-06-21_Siphashkey
...
SipHashKey
2019-06-25 18:59:31 +02:00
Torkel Rogstad
bac49ec1d8
Add more tests to AesCryptTest, fix doc string
2019-06-25 18:55:22 +02:00
Torkel Rogstad
09caeb4854
Merge pull request #516 from torkelrogstad/2019-06-12-trezor-test
...
Generate test vectors from Trezor
2019-06-25 13:08:49 +02:00
Torkel Rogstad
505d3cbaa1
Fix Scala 2.11 complaints
2019-06-25 11:58:18 +02:00
Torkel Rogstad
1b2a959d54
Make AesSalt a factory object
2019-06-25 11:39:20 +02:00
Torkel Rogstad
161db9ff92
Add toBase64/fromBase64 to AesEncryptedData
2019-06-25 11:39:17 +02:00
cwaldron97
4345ddbb1e
fixed compiler errors
2019-06-24 15:50:51 -05:00
Nadav Kohen
95dad1fc1d
Made GolombFilter extend NetworkElement ( #549 )
2019-06-24 14:43:04 -05:00
cwaldron97
a457717eb4
scalafmt
2019-06-24 14:12:47 -05:00