Commit graph

292 commits

Author SHA1 Message Date
Yoni Svechinsky
ee4eed71ea Feature/slate serialization (#2534)
* - Add backwards compatability
- Add hex serialization

* rustfmt

* rustfmt

* Windows Compatibility Fixes #1 (#2535)

* initial changes for windows build and unit/integration tests

* rustfmt

* wallet+store tests

* rustfmt

* fix linux daemonize

* better encapsulate file rename

* rustfmt

* remove daemonize commands

* rustfmt

* remove server start/stop commands

* add ability to drop pmmr backend files explicitly for txhashset unzip

* rustfmt

* fix pmmr tests

* rustfmt

* Windows TUI Fix (#2555)

* switch pancurses backend to win32

* revert changes to restore test

* compatibility fix + debug messages

* rustfmt

* Add content disposition for OK responses  (#2545)

* Testing http send and fixing accordingly

* add repost method into wallet owner api (#2553)

* add repost method into wallet owner api

* rustfmt

* Add ability to compare selection strategies (#2516)

Before tx creation user can estimate fee and locked amount
with different selection strategies by providing `-e` flag for
`wallet send` command.
2019-02-13 13:29:44 +00:00
Peter Kalambet
d6936f0ae7 Add more details to wallet TLS setup instruction (#2565) 2019-02-13 00:22:41 +01:00
Gary Yu
5987bcde19 add repost method into wallet owner api (#2553)
* add repost method into wallet owner api

* rustfmt
2019-02-12 13:39:43 +00:00
Rodrigo Ferreira
a735fd1bc6 [docs] Brazilian Portuguese translation of intro.md (#2522)
* Translate intro.md to portuguese

* Spell-checking and minor improvements to the portuguese translation
2019-02-06 09:41:14 -08:00
marcuswin
987fa033ed Fix link on BPASE (#2512) 2019-02-01 16:47:01 +00:00
Anthony Morris
7646e71810 Fix minor typo (#2507) 2019-02-01 11:01:26 +00:00
Ramin Soltanzadeh
0fc7dff0d6
Create intro_SE.md 2019-01-31 00:37:41 +01:00
Simon B
0e0ec247e4 fix owner_api docs: wrong port number (#2442)
* fix owner_api docs: wrong port number

* update ports since PR #2405. We now allow both floo and mainnet owner_apis to run in parallell on a single server, with ports 13420 or 3420

* correction since there is no --mainnet flag

* fixes the comment by @karkagis
2019-01-25 10:08:08 +00:00
gagarin55
d9c38ae654 Fixed some typos in russian intro and code structure docs 2019-01-24 16:03:36 +03:00
姜家志
f3884f57b6 In the Requirements, add the software that needs to be installed for the Mac System (#2367) 2019-01-22 13:41:34 +00:00
Oliver Simon
89a1373916 Update translation links and naming scheme (#2357)
* Update translation links and naming scheme

* Improve german translation of intro.md
2019-01-22 13:41:06 +00:00
JackRack
a88d66d9ab Fixed non existing url (#2337)
Added url of wallet user guide on how to use Grin
2019-01-22 13:40:25 +00:00
Michalis Kargakis
cba93e2121 Update build docs instructions (#2428) 2019-01-22 13:39:29 +00:00
Woodstock
7ea370d33a correct spelling of macOS (#2422) 2019-01-18 17:49:20 +00:00
James
bb933dcd69 Update ports for mainnet in API doc (#2406) 2019-01-18 08:55:05 +00:00
Lucas Clemente Vella
320fc78673 Updated default API port. (#2400)
Grin 1.0.0 uses port as API default.
2019-01-16 17:26:35 -08:00
Tomas Susanka
4743286713 Improve introduction images in doc's PoW section (#2393) 2019-01-16 10:45:23 -08:00
Antioch Peverell
5c6abd5e22
1440 confs (#2376) 2019-01-14 13:29:12 +00:00
ProxyM8
6ea95cd764 Add Japanese white paper link and fix errors (#2341) 2019-01-11 15:52:56 -08:00
Oliver Simon
c452dd06f3 Add: German translation of intro.md (#2338)
* Add: German translation of intro.md
* Update intro_DE.md
2019-01-11 15:52:25 -08:00
Isaac Cook
4eeedb0877 Fix doc dump_stored_tx -> retrieve_stored_tx (#2329)
It appears the method call in https://github.com/mimblewimble/grin/blob/master/wallet/src/controller.rs got renamed for consistency and this got missed.
2019-01-10 09:09:56 -05: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
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
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
Michalis Kargakis
3af020f199
Provide link to basic auth wiki 2019-01-05 14:51:21 +01:00
Adam Canady
df5fc7027c minor typo fix (#2286) 2019-01-05 08:57:51 +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
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
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
tabalt
0f8e6bd890 fix grin wallet flag -r (#2252) 2018-12-29 09:27:27 -08:00
j0hnta
4f0582a984 Fix typo (#2238) 2018-12-27 16:01:31 +08:00
tabalt
0683792591 fix grin miner package name (#2234) 2018-12-27 07:38:59 +08:00
Ignotus Peverell
df671a8adb
Remove bit about ASIC resistant mining algo 2018-12-19 14:42:54 -08:00
Blade Doyle
590ea33484 Enhance share rejection messages to include nonce and hash (#2173) 2018-12-18 11:12:05 +00:00
Michalis Kargakis
85074f8356
Wallet docs markdown fixes 2018-12-15 20:43:53 +01:00
hashmap
f7164d63f0
Document 1.31 as a minimal Rust version (#2100)
Document 1.31 as a minimal Rust version
2018-12-08 09:47:31 +01: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
80b20d3e50
DOC: Remove fluff from sendtxargs 2018-12-03 11:26:31 -05:00
Quentin Le Sceller
dedde70407
Typo 2018-11-30 11:06:27 -05:00
Quentin Le Sceller
798565d02e
Fix and update Docker image 2018-11-30 10:35:24 -05:00
Yeastplume
16aa64bfab
Optional Slate Message (#2047)
* add optional signed message to slate

* rustfmt
2018-11-29 12:49:00 +00:00
Onefox
7354344879 doc: update owner_api post_tx call (#2035)
* doc: update owner_api post_tx call

* doc: make it even clearer that finalize doesn't broadcasts
2018-11-28 16:52:55 +00:00
Mike Dallas
d5c3e61cbe Add mining instructions in docs (#2025)
I see this question being asked multiple times every day in the chat.
2018-11-26 10:41:40 -08:00
Onefox
0c5b3f5f64 Fixed account info wallet cli call example (#2011) 2018-11-26 12:28:16 +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
Borkmywork
80a09c3fec Translated introduction into Dutch (#2010)
* Added reference link to Dutch translation
* Translated intro.md to Dutch
* Update intro.md
2018-11-23 12:29:37 -08: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
pj
77e6e4b41f doc: fix typo (#1995) 2018-11-18 09:10:09 -08:00
Ryan Zimmerman
f8787514f9 Fix build docs (#1994)
* Update rust version requirement in doc/build.md

* Apply previous updates to doc/build_ES.md

English version was updated and ES version wasn't kept in sync
2018-11-17 00:38:26 +01:00
Jacob Gadikian
fb3f967a86 Update build.md (#1975)
added LLVM to the dependency one-liner and dependency list for 

https://github.com/saulius/croaring-rs
2018-11-14 10:17:41 +01: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
2ab31d18a3
Add doc 2018-11-13 11:56:48 +01:00
Quentin Le Sceller
1b264595e3
Add retrieve by tx_id in owner_api 2018-11-12 19:18:54 +01: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
j0hnta
92e41fa571 doc: Add Japanese translation of intro.md (#1917)
* doc: Add Japanese translation of intro.md

* doc: fixes

* doc: add link to japanese translation

* doc: fix typo
2018-11-05 09:58:44 +01:00
hashmap
9cebbf24b8 Update TLS wallet doc (#1908)
Cover Stratum server changes
2018-11-01 10:37:48 -07:00
Quentin Le Sceller
c8afc800ff
Small correction in Node API (#1881) 2018-10-30 15:49:45 +01: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
eupn
ee5d6859fc Translate introduction to russian (#1846) 2018-10-26 20:46:20 +02:00
Ignotus Peverell
a42d66efff
Merge branch 'master' into unitdiff 2018-10-25 14:20:41 -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
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
hashmap
422b98030f
Add wallet TLS setup doc (#1786)
Add wallet TLS setup doc
2018-10-19 10:50:59 +02:00
Quentin Le Sceller
13b2a32092
Add prev root in BlockHeaderPrintable (#1772) 2018-10-17 10:51:50 -04:00
Quentin Le Sceller
67bc891455 Update stratum documentation (#1760) 2018-10-16 16:31:57 -07:00
jaspervdm
85187c2a8c Update API doc (#1759) 2018-10-16 13:05:16 -04: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
jaspervdm
e69b2ace70 [T4] Update transaction schematic (#1712)
* Update transaction schematic

* Fix typo
2018-10-10 11:28:36 +01:00
Yeastplume
6c8c483172
[T4 ONLY] BIP32 Wallet Compliance - Aggsig Updates - Bulletproof Updates (#1501)
* change keychain to use bip32 paths

* convert keychain to use bip32

* change identifier to be serialisation of 4-level bip32 path

* wallet changes compiling, pass parent key into all wallet functions

* rustfmt

* fix tests in chain

* rustfmt

* core tests passing

* rustfmt

* pool tests

* rustfmt

* fixing wallet tests

* rustfmt

* remove file wallet

* wallet tests compiling

* rustfmt

* remove db_migrate

* successful tx exchange test using BIP32 paths

* rustfmt

* fix wallet derivation paths to m/0/0/0

* wallet test fixed again, working with default path

* rustfmt

* fix server tests

* rustfmt

* make parent_id a trait on walletbackend

* rustfmt

* add ability for wallet to switch between multiple named accounts, and tests (not complete)

* rustfmt

* account switching tests in place and passing

* rustfmt

* compile and test with latest libsecp changes

* added public key sum to calculated e for aggsig

* rustfmt

* Update secp to 26

* bulletproof bip32 path integration

* rustfmt

* wallet restore updated with bip32 paths, also restores accounts

* rustfmt

* rustfmt

* remove old extkey

* remove old extkey

* rustfmt

* add wallet account commands

* rustfmt

* update wallet documentation

* rustfmt

* merge from master

* update libsecp tag

* merge from upstream and fix server test

* rustfmt

* rustfmt

* merge from master

* update latest libsecp merge

* fix commitment to zero value generation
2018-10-10 10:11:01 +01:00
wimel
991cffd0c7 Translate intro.md to spanish (#1707)
* Create intro_ES.md, translate intro.md to spanish

* Create fast-sync_ES.md, translate fast-sync.md to spanish
2018-10-10 08:10:23 +08:00
wimel
eee16c3e48 Create build_ES.md (#1703) 2018-10-09 16:55:05 +01:00
nimbosa
02c30cb302 docs: fix broken link: slightly slighted api.md (#1704)
* Update table_of_contents.md
2018-10-09 09:50:31 -04:00
Quentin Le Sceller
77dfff7c94
Wallet Foreign and Owner API Documentation (#1658)
* Add Wallet Foreign Doc and Fix Node API doc

* Add Wallet Foreign and Owner API doc

* Fix broken hyperlink and tabs
2018-10-04 14:55:03 -04:00
Quentin Le Sceller
bcaecdeba7
API Documentation: Node API (#1655)
* Structure of the api doc

* Initial Node API Doc
2018-10-04 09:35:39 -04:00
Quentin Le Sceller
1e93b7fe65
Fix documentation (#1652)
* Markdown formating
2018-10-03 16:31:28 -04:00
Michalis Kargakis
8c3f6eb8f7 Dockerfile updates (#1580)
* pregenerate config and disable tui
* install openssl now that native-tls is pulled in
* EXPOSE directive cleanup
* Update build instructions
2018-09-25 13:18:17 -07:00
Gary Yu
bbe0b0384b docs: add release instruction (#1571) 2018-09-25 13:14:10 -07:00
Mike Dallas
0d7fa06fe0 Remove a dead link from docs (#1563)
* Update intro.zh-cn.md

remove link

* Update intro.md

remove link

* Undo

* Change link to point to original paper
2018-09-20 17:46:52 +01:00
Ivy Evans
9aed3b9c7f Fix documented emission rate (#1537)
The emission rate was changed to 60 grin per minute (or approximately
1 grin/second) in #569.
2018-09-16 15:36:38 -07:00
Gary Yu
644c1367b8 fix: too many words in a 1st level title (#1520) 2018-09-13 09:46:57 -07:00
Gary Yu
5291a061f1 Update the chinese intro for recent changes in english intro (#1519) 2018-09-12 21:22:49 -07:00
Parth Chopra
3eacc06a97 fixed list of requirements (pkg-config) (#1510)
pkg-config was incorrectly spelled pkc-config
2018-09-12 08:09:40 +01:00
Quentin Le Sceller
dd1cef2148 Add file based transaction in owner API (#1484)
* Add file based transaction in owner API
* Add finalize tx in owner API
* Code cleanup and placed file_receive in correct API
* Output an explicit error when http dest seems incorrect
* Add doc on send method
* Add cancel tx endpoint in owner API
* Add dump stored tx endpoint in owner API
*  Add missing parameters
2018-09-10 19:18:10 -07:00
jaredbrubaker
54a4bb5b58 Update intro.md (#1482)
Correcting what I think may be a typo.
2018-09-06 07:09:15 +00:00
Yeastplume
75f0ea6dd3
Save transaction as part of TxLogEntry after transaction completion (#1473)
* save wallet transaction on transaction completion

* rustfmt

* add resend command

* rustfmt

* added unit tests + fixes for grin wallet repost

* add ability to dump transaction file contents

* rustfmt

* wallet doc update
2018-09-05 12:12:29 +01:00
Ignotus Peverell
86aea875de
Full clang, not only libclang, is required
Fixes #1449
2018-09-04 16:03:49 -07:00
Blade Doyle
a1141cab39 Record ideal miner behavior based on job_id value (#1461)
We have a very low default value for "attempt_time_per_block", which exposed an issue with the miner.  This change documents the correct / ideal behavior.
2018-09-03 19:15:18 +01:00
Quentin Le Sceller
544a296f77
Fix typos and unused imports (#1466)
* Fix typos and unused imports
2018-09-03 13:09:28 +02:00
Ignotus Peverell
9f7625e8aa
Single line package install for Debian-based distros 2018-09-01 23:17:25 +01:00
Yeastplume
11d24fe0c1
update docs to reflect new file layout (#1444) 2018-08-30 11:47:04 +01:00
JackRack
436e68d6e0 Updated docs (#1418)
Updated docs to reflect new dependencies
2018-08-29 14:09:53 -04:00
Antioch Peverell
e5d43fee44
tweak excess example in docs (#1443)
* tweak excess example in docs

* remove reference to ECDSA signature.
remove references to passing sums of blinding factors around

* cleanup reference to _what_ is signed

* tweak who knows the private key
2018-08-29 12:54:33 +01:00
Ignotus Peverell
953d910776
Quick build guide update 2018-08-24 20:10:22 +01:00
Michalis Kargakis
dda88f193b Fix typo + git ignore wallet data (#1350)
* Ignore wallet data

* Fix typo
2018-08-13 23:28:01 +01:00
jaspervdm
498ea9718e Improved basic transaction diagram (#1313)
* Fixed basic transaction diagram
* Offset is not part of kernel (it is stored in the tx)
* Explicitly write down calculation of xS
2018-08-06 11:34:11 -07:00
obxium
77ce26257f Update wallet link (#1310) 2018-08-01 13:57:25 -04:00