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
eupn
1195071f5b
Replace logging backend to log4rs and add log rotation ( #1789 )
...
* Replace logging backend to flexi-logger and add log rotation
* Changed flexi_logger to log4rs
* Disable logging level filtering in Root logger
* Support different logging levels for file and stdout
* Don't log messages from modules other than Grin-related
* Fix formatting
* Place backed up compressed log copies into log file directory
* Increase default log file size to 16 MiB
* Add comment to config file on log_max_size option
2018-10-21 13:30:56 -07:00
Quentin Le Sceller
0852b0c4cf
Expose post_tx in OwnerAPI Post ( #1795 )
...
* Add POST post_tx in wallet_owner_api
* Add docs for post_tx
2018-10-21 13:26:35 -07:00
Gary Yu
0d06561a91
replace stdlib RwLock and Mutex with parking_lot ( #1793 )
...
* replace all stdlib RwLock with parking_lot RwLock
* replace stdlib Mutex with parking_lot Mutex
* rustfmt
2018-10-20 08:13:07 +08:00
John Tromp
e1b5d7f3c2
revert secondary scaling default in HeaderInfo; rename scaling_difficulty; refactor difficulty_data_to_vector
2018-10-19 21:39:54 +02:00
eupn
a11778bf68
fix: mark potential coinbase outputs as mining instead of unconfirmed in wallet ( #1787 )
...
* Mark unconfirmed coinbase outputs as "Mining" instead of "Unconfirmed"
* Fix formatting
2018-10-18 15:42:31 +02:00
yeastplume
6980278b95
merge T4 into master - rustfmt
2018-10-18 11:23:22 +01:00
John Tromp
8540e4f723
[T4] tweaks and fixes ( #1766 )
...
* refactor consensus.rs, tweaking some values
* move scale() there
* fix set_header_nonce bug
* remove maturity soft-fork code
* increase diff target precision
* fix weight comments and try resolve PR conflict
2018-10-16 16:14:22 -07:00
John Tromp
34646ddf51
[T4] Rename all shiftsize / cuckoo_size to edge_bits and change value for T4 ( #1752 )
...
* replace all size_shift / cuckoo_size by edge_bits and change some constants for T4
* replace remaining occurrences of sizeshift
2018-10-15 16:14:23 -07:00
Ignotus Peverell
a41022f1e3
Fix last tests broken by secondary PoW factor adjustment
2018-10-15 22:53:28 +00:00
yeastplume
9423865f92
update cargo versioning
2018-10-15 10:34:33 +00:00
Yeastplume
13facfac4b
pre-testnet4 genesis values ( #1744 )
2018-10-15 11:14:49 +01:00
Ignotus Peverell
43f4f92730
[T4] Secondary proof of work difficulty adjustments ( #1709 )
...
* First pass at secondary proof of work difficulty adjustments
* Core and chain test fixes
* Next difficulty calc now needs a height. Scaling calculation fixes. Setting scaling on mined block.
* Change factor to u32 instead of u64.
* Cleanup structs used by next_difficulty
* Fix header size calc with u32 scaling
2018-10-13 13:57:01 -07:00
Yeastplume
d756da062a
[T4] warning cleanup ( #1713 )
...
* clean up warnings
* rustfmt
2018-10-10 08:56:15 -07:00