Commit graph

74 commits

Author SHA1 Message Date
Yeastplume
3a3057defb
[WIP] Invoiced Transactions API Support (#90)
* basic invoiced tx working

* rustfmt

* teardown

* rustfmt

* rename, new struct for invoice args, begin to add new functions to RPC apis

* rustfmt

* add fns to rpc api

* rustfmt

* owner api functions RPC documentation in place

* rustfmt

* doctests for new invoicing functions

* rustfmt

* test fixes

* update documentation and doctests

* rustfmt

* invoice testing verification of tx log output

* rustfmt
2019-05-01 20:12:23 +01:00
Gary Yu
92be66672e
Merge pull request #91 from garyyu/revert
Revert "Merge branch 'master' into master"
2019-04-25 15:26:42 +08:00
Gary Yu
e509405b8a
Revert "Merge branch 'master' into master"
This reverts commit a63f2c7cea, reversing
changes made to d774272fee.
2019-04-25 14:59:45 +08:00
Gary Yu
a63f2c7cea
Merge branch 'master' into master 2019-04-25 14:45:43 +08:00
Yeastplume
d774272fee
Add check_version function to Foreign API (#87)
* move api deser types into separate types mod

* rustfmt

* missing types file

* make all exports from libwallet more explicit

* rustfmt

* add version check function to foreign api

* rustfmt

* change check_version return value to result, for consistency
2019-04-24 09:27:14 +01:00
Andrew Dirksen
bff07eb3f5 fix #88 (#89) 2019-04-24 09:26:52 +01:00
Yeastplume
47ee03cadd
V2 slate versioning enablement (#85)
* fix for command line listener port override

* reduce parameter query size

* Add slate versioning

* rustfmt

* bump version number

* Add tests for slate version conversion

* rustfmt

* Updates and test addition based on bdap's review

* rustfmt
2019-04-23 11:29:59 +01:00
Gary Yu
12909c9262
Store payment outputs in wallet database (#1)
* store receiver's output into the sender's database

* rustfmt

* payment output refresh

* fix the test code in libwallet

* rustfmt

* fix wallet_command_line test

* modify the warning message for self sending

* a bit of unit test according to review comments

* display unknown value for the case of multiple outputs on single receiver, normally it's not the case of this wallet implementation

* rustfmt

* fix merge missing parts

* rustfmt

* use PaymentCommitMapping struct instead of a tuple

* rustfmt

* fix the test

* fix the owner api rpc test
2019-04-22 12:40:58 +08:00
Gary Yu
1a01655526
Update README.md
update Travis-CI repo name
2019-04-21 11:38:20 +08:00
Michalis Kargakis
54bd364f06 Use correct wallet config in listen (#41) 2019-04-15 14:16:30 +01:00
Yeastplume
7268f041b4
Command line port fix + query chunk size fix (#42)
* fix for command line listener port override

* reduce parameter query size
2019-04-15 14:15:55 +01:00
Yeastplume
e9b2bdec0e
reset windows build 2019-04-03 19:41:39 +01:00
Yeastplume
735d852c7e
prepare windows build 2019-04-03 17:03:25 +01:00
Yeastplume
f56e091d11
remove readme references for crates.io 2019-04-03 16:44:10 +01:00
Yeastplume
844822e430
increment version number for crates.io 2019-04-03 14:50:44 +01:00
Yeastplume
9b49bde4f9
final updates for tag and build based on grin 1.1.0 merge 2019-04-03 14:22:30 +01:00
Yeastplume
0e9ccef3e5
Slate compatibility between versions (#35)
* wallet compatibilities

* rustfmt
2019-04-02 15:42:28 +01:00
hashmap
2d8a6b81e0
Merge pull request #34 from mrekucci/swp_file_cleanup
refactor: remove forgotten .swp file
2019-04-02 16:22:30 +02:00
Peter Mrekaj
dfc8fe411b refactor: remove forgotten .swp file 2019-04-02 15:53:19 +02:00
Peter Mrekaj
5a739e8e2b docs: update/add new README.md badges (#30)
Replace existing badges with SVG counterparts and add a bunch of new ones.
2019-04-01 11:17:24 +01:00
Yeastplume
4bbce85b75
V2 API Enabling (#33)
* node height return value and documentation

* rustfmt

* add parameter struct for initiate tx functions

* rustfmt

* change tx estimate to use InitTxArgs

* rustfmt

* transaction estimate

* rustfmt

* initiate tx args fixed

* add send args to init

* rustfmt

* last owner api documentation

* api 2 wiring

* rustfmt

* wiring in V2 JSON-RPC API

* rustfmt

* some documentation on endpoint

* shorten endpoints
2019-04-01 11:16:49 +01:00
Yeastplume
427f42c552
Final Owner API Changes (#32)
* node height return value and documentation

* rustfmt

* add parameter struct for initiate tx functions

* rustfmt

* change tx estimate to use InitTxArgs

* rustfmt

* transaction estimate

* rustfmt

* initiate tx args fixed

* add send args to init

* rustfmt

* last owner api documentation
2019-03-29 16:00:02 +00:00
Yeastplume
7b8fe92f53
Foreign API documentation and small cleanup (#31)
* verify slate messages documentation

* rustfmt

* foreign API documentation

* rustfmt
2019-03-29 08:46:12 +00:00
Peter Mrekaj
f756b10d78 docs: add LICENSE file (#29) 2019-03-26 19:36:37 -07:00
Yeastplume
afa6003a8b
V2 Foreign API RPC Tests (#28)
* build_coinbase api doctest

* rustfmt

* foreign api recieve tx rpc

* rustfmt

* re-export grin dependencies

* re-export grin dependencies

* all foreign API rpc tests working
2019-03-26 16:02:31 +00:00
Yeastplume
94960b3edd
[WIP] V2 API Doctest generation (#24)
V2 API Doctest generation
2019-03-22 12:03:25 +00:00
Antioch Peverell
64772e6021
Merge pull request #17 from antiochp/plain_kernels
default to using a Plain kernel with no lock_height
2019-03-19 17:31:45 +00:00
antiochp
e3b5e5b1de
default to using a Plain kernel with no lock_height
when constructing txs via the wallet
2019-03-19 17:30:17 +00:00
Yeastplume
db015960a9
APIV2 refactoring (#23)
* continue refactor

* rustfmt

* further refactoring

* impl crate compiling

* main crate compilation

* rustfmt

* test fix

* rustfmt

* test compilation

* rustfmt

* refwallet tests passing

* rustfmt

* all tests passing

* move http listener startup out of adapter

* rustfmt

* rename refwallet->controller

* rustfmt

* travis tests and api doctests

* rustfmt
2019-03-17 19:14:58 +00:00
Yeastplume
8cca9821bd
Remove callbacks from transaction API functions (#22)
* remove callbacks from transaction creation

* rustfmt

* add missing functions to owner api rpc

* comment fix
2019-03-14 15:05:13 +00:00
Yeastplume
baa5e46d7d
Refactor crate names, API Crate refactor (#20)
* refactor/rename api crate contents, make crate naming consistent (all starting with grin_wallet)

* refactor/rename api crate contents, make crate naming consistent (all starting with grin_wallet)

* fix rpc api tests

* rustfmt

* done refactor

* rustfmt

* travis CI fixes
2019-03-14 12:06:03 +00:00
Peter Mrekaj
550d93b2d2 refactor(ci): reorganize CI related code (#16)
Break-down the CI related code into smaller more maintainable pieces.
2019-03-14 09:32:06 +00:00
Yeastplume
02655afca8
Slate version conversions (#13)
* add slate upgrading/downgrading

* add slate versions

* slate versioning compilation and tests

* transaction slate responses downgrade themselves to the version of the caller

* add command line arg for target slate version output

* v2 versioning comment info

* doctest fixes
2019-03-12 16:48:14 +00:00
Gary Yu
be99ef8335 add .hooks for rustfmt (#15) 2019-03-12 12:16:37 +00:00
Andrew Dirksen
3c82b11c6d api v2 (#2)
* APIv2 Rewrite first draft

Add WIP JSON RPC handler for APIOwner via proc-macro generated API, using the easy-jsonrpc crate.

* patch dependency on grin core to get serializable errors

* doctest ownerapi, update easyjsonrpc version

* begin impl ForeignApi

* https://github.com/mimblewimble/grin/pull/2659 is merged, switch from using forked repo

* write jsonrpc doctests for ForeignApi
2019-03-12 09:37:57 +00:00
Yeastplume
ddd9bc2908
'Awaiting finalization' status and changes to 'wallet check' (#8)
* add awaiting confirmation status and change check to not remove unconfirmed transactions by default

* test fixes
2019-03-07 16:19:47 +00:00
Yeastplume
6d92a67730
update database name (#7) 2019-03-07 09:52:53 +00:00
yeastplume
226e1585da
fix wallet data directory 2019-03-05 15:00:15 +00:00
yeastplume
3bfb35ba74
win build reset 2019-03-01 11:37:25 +00:00
yeastplume
033fee0a42
windows build 2019-03-01 11:01:08 +00:00
yeastplume
0d9b293ac1
fix for osx build 2019-03-01 09:09:05 +00:00
yeastplume
edbe64efb8
disable integration tests for time being 2019-02-27 13:14:36 +00:00
yeastplume
238cd7225e
updates based on upstream 2019-02-27 12:50:05 +00:00
yeastplume
6a196ffa90
preview build 2019-02-26 15:57:21 +00:00
yeastplume
3ba3ac2217
vc static runtime cargo flags 2019-02-26 09:42:37 +00:00
yeastplume
4487b37a26
travis comment fix 2019-02-25 15:23:04 +00:00
yeastplume
d3f766cd9e
reset to linux/osx build 2019-02-25 14:54:52 +00:00
yeastplume
d7ae497022
final tweaks to windows build 2019-02-25 14:16:33 +00:00
yeastplume
3bf462f689
windows build tweaks 2019-02-25 13:39:42 +00:00
yeastplume
5a5b494453
tweak windows build 2019-02-25 12:43:39 +00:00