Commit graph

14 commits

Author SHA1 Message Date
Quentin Le Sceller
11481669ef Update Copyright to 2019 (#232) 2019-10-03 15:16:09 +01:00
antiochp
6c322acaf8
rework kernel features support to handle fee and lock_height on features variants 2019-08-19 14:29:11 +01:00
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
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
85b55f5ca7
Add participant ID as part of key to stored private transaction context data (#117)
* add participant_id to saved tranasction context data

* rustfmt?

* change participant id for command line pay command
2019-05-23 16:27:57 +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
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
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
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
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
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