Commit graph

129 commits

Author SHA1 Message Date
Yeastplume
64e8c48c35
Merge 2.0.0 branch into master (#164)
* create 2.0.0 branch

* V0/V1 Slate Removal + Grin Header Version Bump (#140)

* Remove V0 and V1 Slates from Wallet

* rustfmt

* V1 API + V2 wallet to wallet impl (#144)

* remove v1 API

* rustfmt

* convert http adapter to use V2 api

* rustfmt

* V2 API conversion Pt2 - Check version (#146)

* call check_version on wallet before http send

* rustfmt

* Support new Bulletproof rewind scheme (#122)

* Restore with LegacyProofBuilder

* Switch to ProofBuilder at HF block

* Switch proof builder for coinbase outputs at hard fork

* Use valid_header_version to switch proof builder

* Fix compilation errors

* Use legacy proof builder for AutomatedTesting chain type

* Add macro to avoid duplicate code

* Read version info from server, react accordingly (#154)

* read and parse version, bump hf

* rustfmt

* add foreign api middleware check

* rustfmt

* add middleware checks

* rustfmt

* add check for incoming pre-hf slates

* api tests

* Add double rewind period (#155)

* Add double rewind period

* Simplify restore

* Fix comment

* bump imported version for beta release

* version bump for next (potential) release

* Provide more specific error when other wallet is outdated (#162)

* add appropriate error message when other wallet is out of date

* rustfmt

* missing cargo.lock
2019-06-27 10:41:05 +01:00
Yeastplume
c7a00478aa
fix future version number 2019-06-06 00:12:08 +01:00
Yeastplume
ea4849a05f
fixes and version update for final 1.0.0 build 2019-06-05 22:35:11 +01:00
Gary Yu
36ab785589
cargo.lock crate version update, and remove 3 build warning from cargo 1.35.0 2019-06-01 10:46:45 +08:00
Yeastplume
b1738e33ed
Changes for 1.1.0 -> 2.0.0 Deployment strategy decisions (#126)
* make slate v0 the default for regular sends

* add block_header_version to slate

* update doc tests for latest grin version

* rustfmt

* HACF if HF height detected

* rustfmt
2019-05-31 08:33:23 +01:00
Yeastplume
af16dea6e1
Version Info API Function tweak, remove 'min_compat_version' from slate (#123)
* change slate version function to return list of supported slate formats

* rustfmt

* remove min_compat_version
2019-05-30 09:34:04 +01:00
Yeastplume
e25c93161e
Updates for 1.1.0-beta.3 release (#106)
* bump version number and build from tag for beta 3 release

* update for latest grin tag
2019-05-16 10:50:31 +01:00
jaspervdm
af6a6249e0 Simplify slate (de)serialization (#103)
* Simplify slate (de)serialization

* rustfmt

* Cleanup

* Fix slate version tests

* Another fix for tests

* Fix slate deser in http adapter
2019-05-16 09:17:39 +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
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
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
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
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
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
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
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
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
6d92a67730
update database name (#7) 2019-03-07 09:52:53 +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
b6b3318b0d
move integration tests into wallet 2019-02-19 11:04:58 +00:00
yeastplume
f65149c181
compile from github branch, clean up cargo dep files 2019-02-15 10:51:23 +00:00
yeastplume
1f613c0641
move api into separate crate, integration tests working 2019-02-14 13:40:29 +00:00
yeastplume
9038c74248
full compilation, move tests into different directory 2019-02-14 10:52:16 +00:00
yeastplume
fe853d29b3
move wallet into refwallet crate 2019-02-13 16:39:34 +00:00
yeastplume
da288f0139
initial commit 2019-02-13 15:05:19 +00:00