This website requires JavaScript.
8d35ea381e
zpay32: remove test case with negative amt
Olaoluwa Osuntokun
2018-02-24 20:11:18 -08:00
7031b5d217
htlcswitch: modify forwarding fee assertion to compare emperical fees
Olaoluwa Osuntokun
2018-02-24 19:21:42 -08:00
b8d0df998a
lnwallet: when validating fee updates, ensure newFee < balance
Olaoluwa Osuntokun
2018-02-24 19:19:46 -08:00
ac90a8288e
lnwallet: precalculate fees in mSAT to avoid multiple conversions
Olaoluwa Osuntokun
2018-02-24 19:19:24 -08:00
217166fb10
lnwallet: within validateCommitmentSanity check for balance underflow
Olaoluwa Osuntokun
2018-02-24 19:16:49 -08:00
5f5e4554cb
lnwallet: if the initiator is unable to pay fees, then consume their entire output
Olaoluwa Osuntokun
2018-02-24 19:15:25 -08:00
19bc477b9a
lnwallet: update interface tests to account for recent lnwire.MilliSatoshi change
Olaoluwa Osuntokun
2018-02-24 19:12:16 -08:00
8425a35684
lnwallet: in NewChannelReservation ensure commit fees are payable
Olaoluwa Osuntokun
2018-02-24 19:11:14 -08:00
5ecef17e0f
lnwallet: modify logging to display mSAT amount if funding constrains invalid
Olaoluwa Osuntokun
2018-02-24 19:09:49 -08:00
f83d56c91f
lnwire: modify lnwire.MilliSatoshi to be an unsigned integer
Olaoluwa Osuntokun
2018-02-24 19:08:43 -08:00
116406c7ec
Merge pull request #769 from Roasbeef/new-lightning-key-derivation
Olaoluwa Osuntokun
2018-03-06 17:21:55 -05:00
1c5f1885d9
Merge pull request #784 from halseth/protocol-errors
Olaoluwa Osuntokun
2018-03-06 16:54:49 -05:00
18e9475a9a
lnwallet/btcwallet: grab best header timestamp directly from wallet
Olaoluwa Osuntokun
2018-03-06 13:17:09 -05:00
78cbe7a141
lnd: verify proper keychain derivation version upon initial creation
Olaoluwa Osuntokun
2018-03-06 11:55:10 -05:00
dc2404f289
contractcourt: update test due to recent SignDescriptor API changes
Olaoluwa Osuntokun
2018-02-19 19:13:03 -08:00
d98e7a730d
lnwallet: update integration tests due to recent API changes
Olaoluwa Osuntokun
2018-02-19 18:58:57 -08:00
7edca37918
build: update to use latest btcwallet with scoped key managers
Olaoluwa Osuntokun
2018-02-19 18:41:48 -08:00
9981c4ce38
lnd: populate the secret key ring in the lnwallet config
Olaoluwa Osuntokun
2018-02-17 17:30:27 -08:00
78ef09c9d3
cmd/lncli: remove the --witness_only flag from walletbalance
Olaoluwa Osuntokun
2018-02-17 15:42:17 -08:00
f2192f1b90
cmd/lncli: remove p2pkh as an option for the new address command
Olaoluwa Osuntokun
2018-02-17 15:41:34 -08:00
1669e3d5ec
lnd: use first key in keychain.KeyFamilyNodeKey as our nodeID
Olaoluwa Osuntokun
2018-02-17 15:40:10 -08:00
b41222b316
rpc: update RPC server to disallow p2pkh adds, assume segwit for ConfirmedBalance
Olaoluwa Osuntokun
2018-02-17 15:38:06 -08:00
525cca02e2
lnrpc: remove the PUBKEY_HASH adds type, WalletBalance is segwit by default
Olaoluwa Osuntokun
2018-02-17 15:37:32 -08:00
a144018e98
lnwallet: remove p2pkh as an address type, wallet is now pure segwit
Olaoluwa Osuntokun
2018-02-17 15:36:53 -08:00
4b20e805fe
multi: update packages due to recent SignDescriptor and WalletController changes
Olaoluwa Osuntokun
2018-02-17 15:29:01 -08:00
0d1a40fb46
lnwallet: update tests due to recent API changes
Olaoluwa Osuntokun
2018-02-17 15:25:55 -08:00
5b063a0691
lnwallet: modify the way we derive revocation roots to be deterministic
Olaoluwa Osuntokun
2018-02-17 15:24:43 -08:00
a41f00e2d6
lnwallet: update funding flow to utilize keychain.KeyRing
Olaoluwa Osuntokun
2018-02-17 15:20:41 -08:00
fe12c908f8
lnwallet: add an instance of keychain.SecretKeyRing to the Config struct
Olaoluwa Osuntokun
2018-02-17 15:18:35 -08:00
22ee0a7576
lnwallet: update state machine due to channeldb and SignDescriptor changes
Olaoluwa Osuntokun
2018-02-17 15:17:40 -08:00
705661a39e
channeldb: replace raw keys in ChannelConfig with keychain.KeyDescriptor
Olaoluwa Osuntokun
2018-02-17 15:14:07 -08:00
af1fd65655
lnwallet/btcwallet: update Signer implementation to use keychain.KeyDescriptor
Olaoluwa Osuntokun
2018-02-17 15:10:51 -08:00
a0dc06b954
lnwallet: update script_utils and tests due to SignDescriptor API change
Olaoluwa Osuntokun
2018-02-17 15:09:51 -08:00
73dd1536ed
lnwallet: update signdescriptor_test.go due to latest API changes
Olaoluwa Osuntokun
2018-02-17 15:09:06 -08:00
9ccdcaf747
lnwallet: update the SignDescriptor struct to use keychain.KeyDescriptor
Olaoluwa Osuntokun
2018-02-17 15:08:21 -08:00
93280ad60a
lnwallet/btcwallet: update implementation to account for recent API changes
Olaoluwa Osuntokun
2018-02-17 15:03:59 -08:00
6290a520fd
lnwallet/btcwallet: remove pruned interface methods
Olaoluwa Osuntokun
2018-02-17 15:02:16 -08:00
a26367f3cb
lnwallet: remove NewRawKey and FetchRootKey from the WalletController interface
Olaoluwa Osuntokun
2018-02-17 14:57:53 -08:00
cd068d8888
keychain: add initial set up interface-level tests
Olaoluwa Osuntokun
2018-02-17 14:56:21 -08:00
d6f54b30fc
keychain: add a btcwallet implementation of the KeyRing and SecretKeyRing interfaces
Olaoluwa Osuntokun
2018-02-17 14:55:56 -08:00
aebe7f35dc
keychain: introduce new package for deterministic key derivation + seed
Olaoluwa Osuntokun
2018-02-17 14:55:05 -08:00
fded72f49d
docs: clarify usage of externalip in sample-lnd.conf
vegardengen
2018-03-06 22:03:26 +01:00
781c2a6eb4
lnwallet test: update test to new error message
Johan T. Halseth
2018-02-28 23:07:13 +01:00
6942e1479d
funding: only send know errors across wire
Johan T. Halseth
2018-02-27 18:37:21 +01:00
b3441561cf
lnwire: make ErrorCode satisfy error interface
Johan T. Halseth
2018-02-27 18:36:30 +01:00
0cbb759d0a
lnwallet: send ReservationError for invalid/incompatible reservation
Johan T. Halseth
2018-02-27 18:35:56 +01:00
bb63ad7da6
lnwallet: send ReservationError for unacceptable constraints
Johan T. Halseth
2018-02-27 18:32:54 +01:00
2cd7ec0833
lnwallet: add errors.go, errors sent to peer during funding
Johan T. Halseth
2018-02-27 18:31:05 +01:00
614e0b3816
Merge pull request #787 from Roasbeef/switch-revenue-stats
Olaoluwa Osuntokun
2018-03-06 15:19:07 -05:00
b6713724ed
Merge pull request #781 from Roasbeef/gossiper-skip-validation-if-stale
Olaoluwa Osuntokun
2018-03-06 15:02:04 -05:00
8306273329
cmd/lncli: add new fwdinghistory command
Olaoluwa Osuntokun
2018-02-27 22:24:37 -08:00
643159caff
test: extend testMultiHopPayments to check feereport and forwarding history
Olaoluwa Osuntokun
2018-02-27 22:24:15 -08:00
02852cdc3b
rpc: implement new ForwardingHistory command
Olaoluwa Osuntokun
2018-02-27 22:23:27 -08:00
06c1030999
rpc: populate new day, week, and month fee sums in FeeReport
Olaoluwa Osuntokun
2018-02-27 22:23:09 -08:00
a540003bb9
server: set the FwdingLog attribute in the switch's config
Olaoluwa Osuntokun
2018-02-27 22:22:31 -08:00
36f214f48c
lnrpc: add ForwardingHistory for querying payment circuit time series
Olaoluwa Osuntokun
2018-02-27 22:22:06 -08:00
ff720e1252
lnrpc: extend the FeeReportResponse to include fee revenue sums
Olaoluwa Osuntokun
2018-02-27 22:20:46 -08:00
473dfd115b
htlcswitch: add set of tests for the forwarding log
Olaoluwa Osuntokun
2018-02-27 22:19:21 -08:00
ad522a72c1
htlcswitch: add new ticker in switch to batch log forwarding events
Olaoluwa Osuntokun
2018-02-27 22:18:52 -08:00
6f11fee1a4
htlcswitch: when forwarding htlcs, set the incomingHtlcAmt
Olaoluwa Osuntokun
2018-02-27 22:14:44 -08:00
d377ffafdd
htlcswitch: populate the incoming+outgoing in the payment circuit
Olaoluwa Osuntokun
2018-02-27 22:13:59 -08:00
157e052958
htlcswitch: add the incoming payment amount to the htlcPacket
Olaoluwa Osuntokun
2018-02-27 22:12:19 -08:00
2b8cad2f08
htlcswitch: add incoming+outgoing amounts to the PaymentCircuit
Olaoluwa Osuntokun
2018-02-27 22:11:20 -08:00
744cfd2ce5
channeldb: add a set of initial tests for the ForwardingLog
Olaoluwa Osuntokun
2018-02-27 22:06:27 -08:00
f2cd668bcf
channeldb: add new ForwardingLog storage namespace
Olaoluwa Osuntokun
2018-02-27 22:05:58 -08:00
e7e4cdcf49
discovery: avoid always validating ECDSA sigs by asking router if item is fresh
Olaoluwa Osuntokun
2018-02-24 19:35:58 -08:00
aa0410c90a
routing: add new methods to check the freshness of an edge/node
Olaoluwa Osuntokun
2018-02-24 19:34:03 -08:00
a1fb22eb8d
rpc: properly populate fee field in listpayments
vegardengen
2018-03-06 19:21:03 +01:00
61a7556931
Merge pull request #719 from Roasbeef/rpc-seed
Olaoluwa Osuntokun
2018-03-05 15:56:41 -05:00
3356a370c7
cmd/lncli: extend initial wallet creation with aezeed seed support
Olaoluwa Osuntokun
2018-02-01 20:52:40 -08:00
d8ce90306d
lnwallet/btcwallet: during initial creation catch the case of an existing wallet
Olaoluwa Osuntokun
2018-02-01 20:50:58 -08:00
6289a2fb84
lnd: move seed generation outside wallet to allow for user supplied entropy
Olaoluwa Osuntokun
2018-02-01 20:49:34 -08:00
428693cb6e
walletunlocker: modify service to implement new 2-step wallet creation
Olaoluwa Osuntokun
2018-02-01 20:44:40 -08:00
7f953bf0b9
lnrpc: revamp the WalletUnlocker service to have a two-stage init
Olaoluwa Osuntokun
2018-02-01 20:16:40 -08:00
294447fe2f
Merge pull request #803 from cfromknecht/glide-crypto-x-version
Olaoluwa Osuntokun
2018-03-05 10:29:33 -05:00
9ffd7bb7ce
glide: add explicit version to x/crypto deps
Conner Fromknecht
2018-03-04 21:34:37 -05:00
9d34fa8c1e
docs/grpc/ruby: fix incorrect documentation in ruby.md value to amt (#799 )
Alex Gessner
2018-03-02 22:16:22 -05:00
1ba399267b
Merge pull request #773 from Roasbeef/aezeed
Olaoluwa Osuntokun
2018-03-01 17:53:56 -08:00
d65fe83a59
build: add aez and bstream to glide
Olaoluwa Osuntokun
2018-02-22 17:15:06 -08:00
120cebef77
aezeed: add a set of benchmarks
Olaoluwa Osuntokun
2018-02-22 17:14:45 -08:00
eb3b5196e1
aezeed: add comprehensive, mostly property-based tests
Olaoluwa Osuntokun
2018-02-22 17:13:17 -08:00
ffac0336e6
aezeed: add new package implementing the aezeed cipher seed scheme
Olaoluwa Osuntokun
2018-02-22 17:12:41 -08:00
a9dc4f80f2
chainntnfs/neutrinonotify: log height hint for spend notifications
Olaoluwa Osuntokun
2018-03-01 16:49:19 -08:00
9479b085e2
Merge pull request #785 from brndnmtthws/master
Olaoluwa Osuntokun
2018-02-28 19:27:13 -08:00
55f751fd37
routing/router Fix FindRoutes in router test
t4sk
2018-02-28 10:09:41 +07:00
37aa9759db
docs: Add details to macaroon usage with GRPC.
Brenden Matthews
2018-02-28 16:11:22 -05:00
eed0e9ac67
docs: Show macaroon usage with Java GRPC example.
Brenden Matthews
2018-02-28 16:11:06 -05:00
f7ec490f44
Merge pull request #762 from halseth/fee-estimator
Olaoluwa Osuntokun
2018-02-26 17:22:50 -08:00
0468f7b308
fundingmanager: Added additional test to check a pending channel initiated by the user doesn't timeout.
John Griffith
2018-02-23 00:16:33 +00:00
63ee31b83f
fundingmanager: Added additional check so that pending channels don't timeout for the channel initiator
John Griffith
2018-02-23 00:13:05 +00:00
7f04d927a0
rpc: fix queryroutes bug that assumed precise number of returned routes
Olaoluwa Osuntokun
2018-02-26 16:31:40 -08:00
2db5e56754
lnwire: add todo for changing to SatPerKWeight for fee rates
Johan T. Halseth
2018-02-23 10:55:51 +01:00
b9f09a666d
lnd test: calculate channel reserve based on balance before fees
Johan T. Halseth
2018-02-22 11:14:41 +01:00
24d30e6495
peer test: remove var casting
Johan T. Halseth
2018-02-21 14:02:28 +01:00
f42c16b612
lnd test: ensure static fee is not rounded down
Johan T. Halseth
2018-02-21 13:03:30 +01:00
004563b20b
channeldb: add todo making feerate explicit type
Johan T. Halseth
2018-02-21 10:05:04 +01:00
dd6872da31
lnwallet test: add TestFeeRateTypes and TestStaticFeeEstimator
Johan T. Halseth
2018-02-14 08:55:03 +01:00
7b30425111
multi test: update tests/mocks to use EstimateFeePerVSize
Johan T. Halseth
2018-02-13 15:15:14 +01:00
ba3f3e1942
rpcserver: express fee rates using types
Johan T. Halseth
2018-02-13 15:13:01 +01:00
b9d1eceda3
peer: use EstimateFeePerVSize
Johan T. Halseth
2018-02-13 15:07:20 +01:00