Commit graph

65 commits

Author SHA1 Message Date
Evgeniy Kulikov
ab70f84999
Merge pull request #21 from nspcc-dev/fix/get-status-error-even-if-it-is-wrapped
Get status error even if it is wrapped
2019-11-26 14:20:05 +03:00
Evgeniy Kulikov
a893e389b0
service: test coverage for wrapped status errors 2019-11-26 14:09:23 +03:00
Evgeniy Kulikov
d08f5a5811
service: get status error even if it is wrapped 2019-11-26 14:08:52 +03:00
Evgeniy Kulikov
20c10a2afd
service: rename EpochRequest to EpochHeader and merge with MetaHeader 2019-11-26 13:57:29 +03:00
Evgeniy Kulikov
40038cc860
service: test coverage for CheckOwner 2019-11-26 13:43:01 +03:00
Evgeniy Kulikov
eda9ea3829
service: add method to RequestVerificationHeader to validate owner 2019-11-26 13:43:01 +03:00
Evgeniy Kulikov
8967a0d1f5
service: remove SignRequest, VerifyRequest and accompanying code 2019-11-26 13:36:48 +03:00
Evgeniy Kulikov
5c031fc6b2
service: ProcessRequestTTL shouldn't change status errors 2019-11-25 15:47:57 +03:00
Evgeniy Kulikov
1a9a840d17
proto: regenerate proto files 2019-11-21 16:16:39 +03:00
Evgeniy Kulikov
e2842ae216
docs: add doc comments for meta and verify proto files 2019-11-21 16:16:34 +03:00
Evgeniy Kulikov
b8f3641b59
service: add SetVersion to satisfy MetaHeader interface 2019-11-21 16:16:34 +03:00
Evgeniy Kulikov
16101b7d84
proto: add version of protocol into meta header 2019-11-21 15:13:07 +03:00
Evgeniy Kulikov
5c344bfceb
Fix issue with Sign/VerifyRequestHeader proto.Clone
proto.Clone couldn't makes copy for custom fields.
We should reset and restore MetaHeader before/after Sign/Verify.
Add test coverage to check that all works like expected.
2019-11-21 13:10:57 +03:00
Evgeniy Kulikov
24e5497b1d
Update develop branch 2019-11-21 13:10:57 +03:00
Evgeniy Kulikov
1cf33e5ffd
initial 2019-11-18 16:34:06 +03:00