Commit Graph

1750 Commits

Author SHA1 Message Date
Eugene P b4e4992a5c rustfmt 2019-01-10 12:30:21 +03:00
Eugene P 29fc3e61de Implement fmt::Display for core::Hash 2019-01-10 12:30:10 +03:00
Eugene P 282a5ce980 rustfmt 2019-01-10 06:28:28 +03:00
Eugene P f5ae49f071 Print block hash in TUI partially 2019-01-10 06:28:15 +03:00
Yeastplume 5915580ab3 Automate wallet seed recovery process (#2319) 2019-01-09 16:13:05 +00:00
Ignotus Peverell ea38e15a6f Enforce zeroing of serialized proof excess bits (#2315) 2019-01-08 16:03:41 -08:00
Ignotus Peverell 1806ee34f5 Off by one 2019-01-08 22:43:33 +00:00
Ignotus Peverell 5caddc01db Enforce zeroing of serialized proof excess bits 2019-01-08 19:18:44 +00:00
Antioch Peverell 27801f6a93 Implement kernel and output features as enums (#2312)
* use enums for kernel and output features

* rustfmt

* add test coverage around deserializing kernel features
2019-01-08 16:07:38 +00:00
Hendrik Richter c388af6603 add one more DNS seed (#2283) 2019-01-08 08:12:56 +08:00
Antioch Peverell a02c44080a Dandelion cycle fix (#2185)
* modify stempool behavior - fluff if tx seen before (any kernels)

* rustfmt
2019-01-07 18:09:04 -05:00
Gary Yu c5efb715a5 add https as optional for server api (#2310)
* add tls as optional config for server api
* add error log if start_rest_apis fail
2019-01-07 11:42:11 -08:00
Ignotus Peverell 2c5ba853f7 Version bump to 0.5.1 2019-01-07 19:41:07 +00:00
Quentin Le Sceller 5eaf0e6989 Fix confidential transactions link (#2307) 2019-01-07 10:03:33 +00:00
Ducem Barr a3431fb147 feat: Configuration option to include foreign API endpoints in the owner API (#2305)
* Allow foreign API over owner API port

* Tests for owner_api_include_foreign config option
2019-01-07 10:00:52 +00:00
Gary Yu 0b73e87f8c fix: connection close should stay outside the poll loop (#2308) 2019-01-07 14:44:07 +08:00
Gary Yu e79123fd5c clean the unused p2p sockets (i.e. not in peers list) (#2298)
* clean the unused p2p sockets (i.e. not in peers list)

* add function comments
2019-01-07 14:41:41 +08:00
Gary Yu 657392b592 minor improvement on stratum server log for miner status (#2301)
* add a log to show the stratum worker status

* add miner starting time (height)

* rustfmt
2019-01-07 07:19:25 +08:00
Yeastplume b927c10b01 Update libsecp version and a few trivial enhancements (#2304)
* update libsecp version and a few trivial enhancements

* update grin_secp version number
2019-01-06 21:18:02 +00:00
Quentin Le Sceller 8e4c36714f Fix doc typo (#2303) 2019-01-06 12:28:18 -08:00
Quentin Le Sceller 21deed3ba3 Add Quentin Le Sceller DNS Seed (#2302) 2019-01-06 12:05:57 -08:00
Quentin Le Sceller a1dbf68254 Merge pull request #2290 from kargakis/clarify
Provide link to basic auth wiki
2019-01-06 14:34:52 -05:00
Tsai1993 3249d77af6 a bit typo fix on intro (#2299)
* typo fixed
2019-01-07 00:02:16 +08:00
Yeastplume dca9462669 Http adapter Fix (#2295)
* only send http and keybase adapter slates sync

* rustfmt
2019-01-05 21:16:01 +00:00
Michalis Kargakis 3af020f199 Provide link to basic auth wiki 2019-01-05 14:51:21 +01:00
Gary Yu 16878dc6a2 fix: regression on state sync (#2289)
* fix the path name of leaf snapshot

* rustfmt

* fix: debug format will add "" on the path name

* rustfmt
2019-01-05 13:08:49 +08:00
Adam Canady df5fc7027c minor typo fix (#2286) 2019-01-05 08:57:51 +08:00
Gary Yu 6165c0873c fix: shutdown the tcpstream when we initiate to close a peer connection (#2288) 2019-01-04 09:08:44 -08:00
hashmap 3b4492495f Check if message in slate comes with signature (#2284)
Fixes #2281
2019-01-03 13:05:23 +01:00
Gary Yu 939f42ea56 a bit refactoring on wallet controller for issue_send_tx (#2280)
* a bit refactoring on wallet controller for issue_send_tx
2019-01-03 19:01:31 +08:00
Gavin McDermott 3092221997 fix: specify allowed headers on http responses (#2184) 2019-01-03 10:52:00 +01:00
Blade Doyle c45486f2b9 fix: issue_send_tx problem with keybase method in grin_owner_api
* don't drop the slate after send_tx_sync, and also call finalize here following the same pattern as other sync method
2019-01-03 09:15:34 +08:00
Ignotus Peverell 216924c677 Fix for genesis outputs confirms count (#2271) 2019-01-02 12:11:02 -08:00
Yeastplume d9ff8e278e Wallet recovery phrase security fixes (#2276)
* prompt for recovery phrase using linefeed crate functionality
* break out recovery parse function, remove phrase from logging
2019-01-02 12:10:07 -08:00
Gary Yu f88ffe5fd6 more accurate stratumserver error status for block not found (#2273)
* more accurate stratumserver error status for block not found

* rustfmt
2019-01-02 22:49:06 +08:00
Yeastplume 906adb9e6d Don't clean unconfirmed outputs > 500 blocks old (#2275)
* only clean unconfirmed coinbase

* only past 50 blocks
2019-01-02 14:27:17 +00:00
Yeastplume f5e4782a30 remove web wallet installation for the time being (#2274) 2019-01-02 13:06:05 +00:00
Gary Yu 7e8296dce0 fix: peer connect panic on log (#2272) 2019-01-02 09:54:17 +08:00
Ahmed Kamal daa712ae99 support floonet, separate entrypoint from cmd, add docker volume (#2265)
* support floonet, separate entrypoint from cmd, add docker volume

* Separate Dockerfile for floonet

* Spelling and docs
2019-01-01 16:00:21 -08:00
jaspervdm e0923753fa Add @jaspervdm DNS seed (#2270) 2019-01-01 15:58:50 -08:00
Elichai Turkel f2a29ce37a Optimizing the code and making it more idiomatic (#2269) 2019-01-01 15:29:16 -08:00
Gary Yu 23df6fa976 fix: check_banned must care about ip address only, and ignore the peer port info (#2267) 2019-01-01 11:43:05 +08:00
Ignotus Peverell e784cf4d01 feature: Enable setting a node address for a dandelion peer (#2263)
* Configuration to set a fixed dandelion peer
* typo + styling
* more idiomatic way of picking the peer
2018-12-31 13:24:00 -08:00
Yoni 972cea5fe9 more idiomatic way of picking the peer 2018-12-31 22:48:24 +02:00
Yoni a5e5ae83b6 typo + styling 2018-12-31 20:00:33 +02:00
Yoni b2cc5ba7e1 Enable setting a fixed dandelion peer 2018-12-31 18:49:05 +02:00
Gary Yu 738d49d560 fix: one peer occupy multiple tcp connections (#2262)
* shutdown the tcpstream when peer connect or accept fail

* remove the unnecessary 3 times retry on peer connecting

* connect/accept are actually handshakings instead of tcpstream connect/accept
2018-12-31 19:24:30 +08:00
Gary Yu ea7eea3f84 Skip connecting PeerWithSelf by checking ip address (#2253)
* skip the connecting to self
2018-12-31 07:15:58 +08:00
Yeastplume 9c98b798ee Delete Unconfirmed outputs as part of wallet check_repair (#2261)
* Delete unconfirmed outputs as part of check_repair process

* rustfmt
2018-12-30 22:19:11 +00:00
Yeastplume 3eb599a45c Grin wallet check/repair (#2256)
* first pass at basic check_fix process

* rustfmt

* unlocks and tx log entry reversals in place

* log restore output at warn

* rename check_repair

* rename check_repair

* add command line functionality and sanity test

* rustfmt

* update wallet usage doc with check_repair

* doc update

* consistency in NotEnoughFunds output

* consistency in NotEnoughFunds output
2018-12-30 16:32:00 +00:00