DuniterPy merge requestshttps://git.duniter.org/clients/python/duniterpy/-/merge_requests2021-06-29T18:52:09+02:00https://git.duniter.org/clients/python/duniterpy/-/merge_requests/152#178: Make membership_type argument optionnal and by default value 'IN'2021-06-29T18:52:09+02:00Moul#178: Make membership_type argument optionnal and by default value 'IN'Close #178.Close #178.1.0.0Vincent TexierVincent Texierhttps://git.duniter.org/clients/python/duniterpy/-/merge_requests/144#95, #172: BBC: Arguments changes on 'Documents' constructors: Remove 'signat...2021-06-29T14:31:38+02:00Vincent Texier#95, #172: BBC: Arguments changes on 'Documents' constructors: Remove 'signature', introduce 'signing_key', make 'currency' and 'version' optionalsBreak backward compatibilities!
- Remove useless `signature` argument from `Documents.__init__()`
- Rename `Identity(ts: BlockUID)` by `Identity(timestamp: BlockUID)`
- Refactor `Document.signatures` (`List`) as `Document.signature` (...Break backward compatibilities!
- Remove useless `signature` argument from `Documents.__init__()`
- Rename `Identity(ts: BlockUID)` by `Identity(timestamp: BlockUID)`
- Refactor `Document.signatures` (`List`) as `Document.signature` (`str`)
- `Transaction` can have multiple `signatures`, with `Transaction.signatures` attribute and `Transaction.multi_sign([keys])` method.
- Move signatures verifications in the `Documents` classes
- Add optional `signing_key` argument in Document sub-classes
- Refactor subclass `version` argument as optional with `default=subclass.VERSION`
- Set `time` argument optional in `SimpleTransaction`
- Refactor `Documents` `currency` arguments as optional with `default=constants.CURRENCY_CODENAME_G1`
Close #95, #172.1.0.0Vincent TexierVincent Texierhttps://git.duniter.org/clients/python/duniterpy/-/merge_requests/124#130: Support reading Duniter's local json blockchain2021-03-07T17:04:20+01:00Vincent Texier#130: Support reading Duniter's local json blockchainHelper to read blocks from Duniter json storage.Helper to read blocks from Duniter json storage.0.62.0Vincent TexierVincent Texierhttps://git.duniter.org/clients/python/duniterpy/-/merge_requests/122#143 block inner hash and sign2021-03-04T14:18:07+01:00matograine#143 block inner hash and signBlock.inner_hash() and Block.sign() were not correctly implemented.
* create tests for these, according to DUBPv12
* fix these functions
close #143Block.inner_hash() and Block.sign() were not correctly implemented.
* create tests for these, according to DUBPv12
* fix these functions
close #1430.62.0Vincent TexierVincent Texierhttps://git.duniter.org/clients/python/duniterpy/-/merge_requests/89#113 Implement block signature verification2020-01-18T11:17:19+01:00Moul#113 Implement block signature verification- [feat] #113: Handle block signature verification
- [test] #113: Add test for block signature verification
- [test] #113: Add test for transaction signature verification
- [mod] Remove useless cotes- [feat] #113: Handle block signature verification
- [test] #113: Add test for block signature verification
- [test] #113: Add test for transaction signature verification
- [mod] Remove useless cotes0.56.0Vincent TexierVincent Texier