Antioch Peverell
2d4538c428
Clean shutdown via stop_state ( #2117 )
...
* clean shutdown wip
* rustfmt
* introduce StopState that we can lock on
* rustfmt
* take lock on stop_state during critical processing (process_block_single etc.)
* rustfmt
* take lock on stop_state during chain::init()
* cleanup
* cleanup
* rustfmt
* docs/comments
* fixup servers tests
* cleanup p2p tests
2018-12-11 11:07:41 +00:00
Yeastplume
b7fe4d6621
Wallet command line tests ( #2114 )
...
* tests in place for wallet command line
* tests in place for wallet command line
2018-12-10 14:54:56 +00:00
hashmap
aedac483f5
Convert to Rust 2018 edition ( #2084 )
...
* Convert to Rust 2018 edition
* Update gitignore
2018-12-08 00:59:40 +01:00
Yeastplume
68896b2a76
Wallet test framework ( #2098 )
...
* remove circular dependency
* rustfmt
* move wallet test framework
2018-12-07 17:18:33 +00:00
Yeastplume
d1b484259b
Wallet command line automated testing ( #2097 )
...
* wallet test infrastructure
* rustfmt
* successful wallet create
* rustfmt
* start of command line tests
* rustfmt
2018-12-07 15:06:28 +00:00
Ignotus Peverell
87bfd9aaa4
Mark all crates as publishable
2018-12-07 00:08:15 +00:00
Yeastplume
7ff323c882
Fix keybase wallet listener call ( #2091 )
...
* fix keybase adapter call
* rustfmt
2018-12-06 17:51:53 +00:00
Yeastplume
995c5a38e5
fix for password in listen command ( #2090 )
2018-12-06 16:26:20 +00:00
Yeastplume
40ccb32be2
Externalise Grin command line definition to .yaml file ( #2089 )
...
* move command line definition to .yaml file
* rustfmt
2018-12-06 15:25:05 +00:00
Yeastplume
b8c8840cec
Refactor wallet commands ( #2067 )
...
* start wallet command refactoring
* another re-structuring attempt
* rustfmt
* begin splitting up wallet commands
* rustfmt
* clean up wallet arg checking
* rustfmt
* macro for arg parsing
* rustfmt
* factor out init commands
* rustfmt
* move recover to new format
* rustfmt
* add listen command to new format
* rustfmt
* Finish moving commands to new format
* rustfmt
* rustfmt
* propogate errors more cleanly
* rustfmt
* error handling cleanup
2018-12-06 12:04:02 +00:00
Yeastplume
e8a481e3d4
Keybase adapter merge issue fix ( #2086 )
...
* fix keybase adapter
* rustfmt
2018-12-05 19:05:13 +00:00
Mike Dallas
f9261310ab
Keybase wallet plugin ( #2052 )
...
* add keybase wallet plugin
* rustfmt
* cleanup
* rustfmt
* handle null case
* Use two seperate topics for the two parts of the round trip
* rustfmt
* send slate to wallet directly (no need to run http listener anymore)
* rustfmt
* skip some unnecessary api calls
* update docs
2018-12-05 18:37:11 +00:00
Quentin Le Sceller
ed2e1f87aa
Fix verify_messages function ( #2074 )
...
* Fix verify_messages function
* Do not use wallet secp to verify messages
2018-12-05 10:10:37 -08:00
Quentin Le Sceller
a717dbad96
Fix "post_tx" endpoint ( #2077 )
...
* Fix #2073
* Remove logging
2018-12-05 10:08:42 -08:00
Dobby the House Elf
b8124676c7
Move libtx to core
2018-12-05 09:41:26 -08:00
Yeastplume
93a4653e36
Docs, Docs, Docs ( #2058 )
...
* docs
* rustfmt
* doc tweaks
2018-11-30 13:17:42 +00:00
Antioch Peverell
7b07fe99a7
bump 0.4.1 -> 0.4.2 so we can watch the HF ( #2057 )
2018-11-30 11:20:12 +00:00
Yeastplume
16aa64bfab
Optional Slate Message ( #2047 )
...
* add optional signed message to slate
* rustfmt
2018-11-29 12:49:00 +00:00
Yeastplume
fdb0197ef9
Cleanup of wallet owner API, rustdoc documentation ( #2036 )
...
* doc start
* rustfmt
* tightening up wallet owner API
* rustfmt
* remove burn tx functions
* more tx api documentation
* rustfmt
2018-11-28 15:31:23 +00:00
Yeastplume
2a77207713
http api output lock/finalize order ( #2034 )
2018-11-28 11:02:29 +00:00
Yeastplume
b95caecc27
Fixes to grin wallet repost
, cancel tx ( #2029 )
...
* fixes to wallet cancel, repost, ensure stored transaction is updated with final signatures
* rustfmt
* add tests for reposting
* fixes to tests
* repost
2018-11-27 13:36:49 +00:00
Yeastplume
1465599df1
more wallet api docs ( #2023 )
...
* more aggsig doce
* rustfmt
2018-11-26 14:41:23 +00:00
Yeastplume
34520a46d9
fix self send command ( #2022 )
2018-11-26 12:35:14 +00:00
Yeastplume
b2c177d16a
Saner error output on multiple attempts to init wallet ( #2021 )
...
* less scary error message on duplicate wallet commit
* rustfmt
2018-11-26 12:02:18 +00:00
Yeastplume
5992542152
Wallet Seed Encryption + BIP39 ( #2004 )
...
* add encryption/decryption of wallet seed
* rustfmt
* update passphrase to encrypt/decrypt wallet
* rustfmt
* add conversion for old wallet seeds
* add ability to restore old seed
* rustfmt
* add bip39 recovery phrase support, conversion from existing seed formats
* rustfmt
* error recovery
* rustfmt
* add password prompts where required
* rustfmt
* add note specifying wallet conversion
* update documentation
* doc update
2018-11-24 10:03:09 +00:00
Yeastplume
0eec80789a
start libtx docs ( #1998 )
2018-11-20 13:02:51 +00:00
Antioch Peverell
458a980470
[WIP] minimum_confirmations = 10 ( #1996 )
...
* default to minimum_confirmation = 10
pass in minimum_confirmations to grin wallet info
* rustfmt
* rebase against master
* fixup wallet tests
* fixup server tests
2018-11-20 11:17:03 +00:00
Yeastplume
5ba163fa66
Provide wallet 'plugin' architecture ( #1983 )
...
* remove receive_coinbase fn from wallet to wallet client
* start moving clients into separate mod
* rustfmt
* move wallet client + start listener into wallet 'clients'
* rustfmt
* refactor API to make it more modular and completely decouple sending
* rustfmt
* further decouple API from sending methods
* rustfmt
* remove wallet to wallet client trait
* rustfmt
* rename / refactor client + adapters
* rustfmt
* add adapter concept
* add midding node_clients dir
* add file and null adapters
* rustfmt
* remove receive from owner api
* factor out receiving slates into trait
* rustfmt
* adding listen trait
* rustfmt
* change listener to use trait
* rustfmt
* add test for file-based exchange
* replace http api send command
* rustfmt
* move controller out of libwallet and into top-level wallet dir
* rustfmt
* add moved controller
2018-11-19 19:47:40 +00:00
Ignotus Peverell
137c70f6b9
Add cancel_tx and retrieve by tx_slate_id in owner_api ( #1963 )
...
* Add retrieve by tx_id in owner_api
* Add cancel tx by tx_slate_id
* Add doc
2018-11-13 09:34:33 -08:00
Yeastplume
5a06f5dac7
Split wallet client trait ( #1970 )
...
* complete trait split
* rustfmt
2018-11-13 13:18:33 +01:00
Quentin Le Sceller
e923b90ad2
Fix tests
2018-11-13 11:57:43 +01:00
Quentin Le Sceller
59b0f1b1d7
Add cancel tx by tx_slate_id
2018-11-13 11:53:23 +01:00
Antioch Peverell
c631b45ab6
cleanup how we deal with flexible rproof size in ser/deser ( #1965 )
2018-11-13 09:30:40 +00:00
Yeastplume
4e6d7e374b
wallet seed trim on read ( #1964 )
2018-11-12 20:09:33 +00:00
Quentin Le Sceller
1b264595e3
Add retrieve by tx_id in owner_api
2018-11-12 19:18:54 +01:00
hashmap
f5b71b4190
Instantiate wallet once in wallet cli ( #1927 )
...
Also remove extra Box to simplify type
2018-11-11 12:56:42 +01:00
Antioch Peverell
183d9c9f3e
Refactor kernel sig msg creation ( #1954 )
...
* refactor kernel msg creation
* rustfmt
* Error not secp::Error
* fix tests for refactored errors
2018-11-10 16:24:11 +01:00
Antioch Peverell
39ebb33ba1
bump 0.4.0 -> 0.4.1 (tx kernel broadcast support) ( #1950 )
2018-11-09 14:57:25 +00:00
Yeastplume
ee19cfcf86
Wallet self-send ( #1939 )
...
* add self send function to wallet
* rustfmt
* add destination to self send method
* update usage doc
* doc clarification
* remove localhost send restriction
2018-11-08 09:46:09 +00:00
Gary Yu
f645937a2b
replace cyan and yellow which not easy to read on white background ( #1903 )
...
* replace cyan and yellow which not easy to read on white background
* wallet output color scheme configuration for terminal dark/white background
* use true for dark_background_color_scheme to make the default behavior same as before
2018-11-03 09:42:41 +01:00
Yeastplume
9d0641c2b8
Wallet restore fix ( #1904 )
...
* wallet restore txlog + status fixes
* rustfmt
2018-11-01 11:36:29 +00:00
Antioch Peverell
12be191ecd
validate root of header MMR when processing headers (during sync and full blocks) ( #1836 )
...
validate root of header MMR when processing headers (during sync and full blocks) (#1836 )
2018-11-01 09:51:32 +00:00
Gary Yu
a8bf2eb126
avoid long display of TxLogEntryType ( #1894 )
2018-10-31 10:31:24 +00:00
Gary Yu
641e7f51f0
Adjust the title format of wallet txs output ( #1882 )
2018-10-30 14:40:53 -07:00
Ignotus Peverell
46051ee174
improve minimum difficulty handling ( #1791 )
...
* rename MIN_DIFFICULTY to UNIT_DIFFICULTY; define Difficulty::unit, fix INITIAL_DIFFICULTY
* improve minimum difficulty handling
* replace all Difficulty::one by ::min
* revert secondary scaling default in HeaderInfo; rename scaling_difficulty; refactor difficulty_data_to_vector
2018-10-27 10:37:44 -07:00
Ignotus Peverell
c083312ad4
Improve crate descriptors to be more cargo-friendly ( #1844 )
...
* Update secp dependency to use crates.io version
* Add more details to various Cargo.toml
* Remove use of env variables that aren't reliably provided by cargo
2018-10-25 17:44:50 -07:00
Ignotus Peverell
a42d66efff
Merge branch 'master' into unitdiff
2018-10-25 14:20:41 -07:00
Quentin Le Sceller
c343c65051
Remove fluff in SendTXArgs ( #1825 )
2018-10-24 12:10:40 +02:00
Yeastplume
029450a5ce
remove file wallet ( #1824 )
2018-10-24 11:03:50 +01:00
Quentin Le Sceller
d11088c987
Fix build error ( #1803 )
...
* Fix build error
* Cargo Lock
2018-10-21 23:56:42 +02:00