Commit graph

170 commits

Author SHA1 Message Date
sierra19XX
ecd14b8329
Peerplays Marketplace + NFT (#367)
* ppy marketplace 1 - add evaluators and objects

* NFT object and basic operations

* ci: update .gitlab-ci.yml

* ci: update .gitlab-ci.yml

* NFT evaluators and basic tests, no evaluator checks

* Evaluator checks in place

* ppy marketplace 2 - batch sale, offer_object escrow

* Database API

* Wallet API

* NFT metadata implemented

* Fix NFT tests

* Database API for NFT metadata and enumerables

* ppy marketplace 4 - Add tests NFT+Marketplace

* ppy marketplace 5 - Add revenue split

* ppy marketplace 6 - Remove unnecessary files

* ppy marketplace 7 - Add db, wallet changes and some NFT fixes

* ppy marketplace 8 - Add pagination for list APIs

* New DB API, list all NFTs, list NFTs by owner

* Marketplace + NFT + RBAC (#368)

* rbac1 - evaluators and op validators added
* rbac2 - op_type hf checks
* rbac3 - tx auth verify changes
* Update .gitlab-ci.yml
* rbac4 - basic op tests
* rbac5 - clear expired and deleted permission linked auths
* rbac6 - more tests
* rbac7 - more tests
* rbac8 - more tests
* rbac9 - wallet and db api changes
* rbac10 - db api changes for required signature fetch
* rbac11 - add db_api tests
* rbac12 - add missing code for key auths

Co-authored-by: satyakoneru <15652887+satyakoneru@users.noreply.github.com>
Co-authored-by: Roshan Syed <roshan.syed.rs@gmail.com>
Co-authored-by: sierra19XX <15652887+sierra19XX@users.noreply.github.com>

* Fix nft_get_token_uri returning empty string

* Fix nft_mint_evaluator to save token_uri

* Fix cli_wallet to properly pass metadata id for nft_create

* ppy marketplace 9 - FC_REFLECT offer create op

* Add stricter checks to NFTs

* Unlisting offers, add result in offer history object

* Reverting genesis.json wrong commit

* Add non-transferable non-sellable properties to NFTs

* Review comments - change variable names, use scoped enums

* nft_metadata_update changes

* NFT HF checks and op fee addition changes

* NFT make revenue_split integer from double

* revenue_split condition check allow zero or above

Co-authored-by: Srdjan Obucina <obucinac@gmail.com>
Co-authored-by: Roshan Syed <roshan.syed.rs@gmail.com>
Co-authored-by: Satyanarayana Koneru <skoneru@SK-GT.local>
Co-authored-by: obucina <11353193+obucina@users.noreply.github.com>
Co-authored-by: satyakoneru <15652887+satyakoneru@users.noreply.github.com>
2020-08-10 23:18:47 +10:00
pbattu123
b7951e916b
fix verify witness signature method (#295) 2020-02-26 22:25:36 +05:30
pbattu123
d5df44935a
Merge pull request #230 from peerplays-network/feature/GRPH-163
[GRPH-163] Port plugin sanitization code
2020-02-13 10:43:59 -04:00
pbattu123
c93c3d3b18
Merge pull request #226 from peerplays-network/feature/GRPH-160
[GRPH-160] check witness signature before adding block to fork db
2020-02-13 09:00:22 -04:00
pbattu123
0579058792
Merge branch 'develop' into feature/GRPH-163 2020-02-13 08:53:44 -04:00
Sandip Patel
2dfaa866ca Fixed chainparameter update proposal issue 2019-12-05 18:53:38 +05:30
Sandip Patel
5606fc5fc2 Port plugin sanitization code 2019-12-03 15:17:45 +05:30
Sandip Patel
614e51cca0 check witness signature before adding block to fork db 2019-11-29 16:08:23 +05:30
abitmore
2f6de1f056 Add comments for update_expired_feeds in db_block 2019-11-08 15:42:09 +03:00
abitmore
36e318a503 Improve update_expired_feeds performance #1093 2019-11-08 15:39:16 +03:00
Bobinson K B
e377478c34
Merge pull request #139 from peerplays-network/feature/GRPH-94
Improve block generation performance
2019-09-24 13:51:46 -04:00
Peter Conrad
819e1d25b2 Throw for deep nesting 2019-09-23 15:38:01 +03:00
Peter Conrad
8544896e6c Allow sufficient space for new undo_session 2019-09-23 15:38:01 +03:00
abitmore
12105ab6e5 Skip auth check when pushing self-generated blocks 2019-09-20 13:37:23 +03:00
Miha Čančula
94157497bb
Merge branch 'develop' into feature/GRPH-93-v2 2019-09-18 18:19:17 +02:00
Alfredo Garcia
bada09d7d0
Merge branch 'develop' into GRPH-75 2019-09-17 21:10:20 -03:00
Alfredo Garcia
589005515b
Merge branch 'develop' into GRPH-73-fix-block-id-forks 2019-09-17 19:32:20 -03:00
Alfredo Garcia
d911b3db69
Merge branch 'develop' into GRPH-75 2019-09-17 15:53:18 -03:00
Miha Čančula
2dc79e8674
Merge branch 'develop' into feature/GRPH-93 2019-09-17 15:26:33 +02:00
Sandip Patel
cde18342da minor performance improvement 2019-09-17 13:28:22 +05:30
Miha Čančula
4b5076b2e9
Merge branch 'develop' into GRPH-73-fix-block-id-forks 2019-09-16 18:51:53 +02:00
Ronak Patel
9fc07f191f Fixed test failures and compilation issue 2019-09-12 19:13:36 +05:30
Ronak Patel
646dc2e548 Merged Bitshares PR #1462 and compilation fixes 2019-09-10 18:56:27 +05:30
Abit
f732048a6e
Merge pull request #938 from bitshares/fix-block-storing
Store correct block ID when switching forks
2019-09-04 10:54:53 +02:00
Peter Conrad
a0052d4bd3 Enable undo + fork database for final blocks in a replay
Dont remove blocks from block db when popping blocks, handle edge case in replay wrt fork_db, adapted unit tests
2019-09-02 17:19:21 +03:00
Srdjan Obucina
77dd8a9359 GRPH-76 - Short-cut long sequences of missed blocks
Fixes database::update_global_dynamic_data to speed up counting missed blocks.
(This also fixes a minor issue with counting - the previous algorithm would skip missed blocks for the witness who signed the first block after the gap.)
2019-09-02 15:03:00 +02:00
pbattu123
947b02bd57
Merge branch 'beatrice' into beatrice-5050-merge 2019-08-20 15:15:01 -03:00
Prabhjot Singh
aa3128fe89 Merged beatrice into 5050 2019-07-30 11:43:31 -04:00
pbattu123
d365e555f4 virtual-op-fix for deterministic virtual_op number 2019-06-19 11:16:43 -03:00
Fabian Schuh
3e58dc5a11 cleanup of code 2018-12-20 09:58:57 +01:00
dimfred
4875c7a0f9 Fix Duplication operation check 2018-12-20 09:58:57 +01:00
Fabian Schuh
d0c6c49e44
Merge remote-tracking branch 'origin/broadcast-api-operations-duplication-check' into beatrice 2018-10-11 13:54:31 +02:00
Peter Conrad
8c0fcf9db8
Ported security fix from https://github.com/bitshares/bitshares-core/pull/591/ 2018-10-10 14:24:42 +02:00
Apr Team
b28783c3ec Refactoring after review. Removed code duplication. 2018-07-12 17:53:15 +03:00
Apr Team
63f4c7f2c5 Added pending list check. 2018-07-12 17:18:55 +03:00
Apr Team
8094431613 Refactoring after review. 2018-07-06 15:29:15 +03:00
Apr Team
e6f56af1b6 Fixed small issue in test + removed explicit check for duplicates in pending transactions.
They are covered by proposal storage check.
2018-07-05 16:16:16 +03:00
Apr Team
140ecd7532 Added more tests. Fixed offsets in the db file. Pathced the network_broadcast_api. 2018-07-05 13:58:36 +03:00
Apr Team
1c74bba60d Moved check for duplicates to the database. Removed code duplication from unit-tests 2018-07-05 12:58:59 +03:00
Eric Frias
3b3a0905ff Change the behavior of the betting markets from being controlled by
a collection of flags (is_live, is_closed) to a single status field.
The status changes in an event can trickle down to the market groups,
and the status changes in market groups can bubble up to events.
2018-02-07 10:16:30 -05:00
kstdl
930ddb06c1 lottery end implemented 2017-12-06 10:40:52 +03:00
kstdl
2acbf3d929 ticket_purchase_operation implemented. added lottery_options to asset 2017-11-13 10:14:07 +03:00
kstdl
d7c80b4b6a fix rng and get_winner_numbers implemented 2017-11-03 17:52:41 +03:00
Eric Frias
d333dd3812 Track match/cancel/adjust operations related to a bet in the bookie plugin.
Create a paginated version of get_matched_bets_for_bettor()
2017-09-06 16:52:58 -04:00
Eric Frias
6a9b2a0d04 Fix a crash in which we tried to log a proposal object that may have been deleted.
Also, fix a place where logged the letter e instead of the exception it represented
2017-08-30 17:15:50 -04:00
Eric Frias
b505c375af Finish delayed (live) betting.
Remove the ability to change the event of a betting market group after creation.
2017-08-15 18:44:09 -04:00
Roman Olearski
d3482f3a08 Merge branch 'rock-paper-scissors' of https://bitbucket.org/peerplaysblockchain/peerplays-graphene into betting-merge 2017-07-13 16:07:30 +02:00
Viktor
b7e11ae9d6 Update max core supply in genesis, properly track total supply for vesting balances in bts accounts and other changes 2017-06-06 11:17:04 +03:00
Viktor
f90c8a4101 [DLN] added code to test participation rate using ./tests/chain_test --run_test=operation_tests/witness_create, currently passes when test is set to use shuffle (which I've set as default) but fails for RNG 2017-06-01 09:50:55 +03:00
SynaptiCAD User
50f474a8bf [DLN] added code to test participation rate using ./tests/chain_test --run_test=operation_tests/witness_create, currently passes when test is set to use shuffle (which I've set as default) but fails for RNG 2017-05-30 18:49:15 -04:00