Nathan Hourt
c94e46f451
Ref #1506/#1737: Macro-fy ID type definitions
...
Define macros to fully de-boilerplate ID type definitions.
Externalities:
- Rename transaction_object -> transaction_history_object
- Rename impl_asset_dynamic_data_type ->
impl_asset_dynamic_data_object_type
- Rename impl_asset_bitasset_data_type ->
impl_asset_bitasset_data_object_type
The first is to avoid a naming collision on transaction_id_type, and the
other two are to maintain consistency with the naming of the other
types.
2020-08-23 14:43:19 -05:00
Nathan Hourt
14f627c014
Ref #1506 : Isolate chain/protocol to its own library
2020-08-23 14:37:00 -05:00
Peter Conrad
68c57a7414
_hash endianness fixes
2020-08-23 14:18:59 -05:00
John Jones
a24a6bfc68
replace smart_ref with shared_ptr
2020-08-23 14:18:22 -05:00
sierra19XX
6514f8fadd
NFT Marketplace HRP Beatrice Merge ( #371 )
...
* private-key option update
* 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
* ci: update .gitlab-ci.yml
* 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: 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
* GPOS2 HF - Handle rolling period on missing blocks (#369 )
* Mainnet chain halt 5050 Issue (#370 )
* 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
* 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: 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: obucina <11353193+obucina@users.noreply.github.com>
* Beatrice NFT HF
Co-authored-by: pbattu123 <43043205+pbattu123@users.noreply.github.com>
Co-authored-by: pbattu123 <p.battu@pbsa.info>
Co-authored-by: Srdjan Obucina <obucinac@gmail.com>
Co-authored-by: Roshan Syed <roshan.syed.rs@gmail.com>
Co-authored-by: obucina <11353193+obucina@users.noreply.github.com>
2020-08-11 01:42:59 +10:00
pbattu123
08318d06a2
Merge Elasticplugin, snapshot plugin and graphene updates to beatrice ( #304 )
...
* check witness signature before adding block to fork db
* Replace verify_no_send_in_progress with no_parallel_execution_guard
* fixed cli_wallet log issue
* Port plugin sanitization code
* avoid directly overwriting wallet file
* Implemented "plugins" config variable
* allow plugin to have descriptions
* Merge pull request #444 from oxarbitrage/elasticsearch
Elasticsearch plugin
* Merge pull request #500 from oxarbitrage/elasticsearch-extras
es_objects plugin
* Merge pull request #873 from pmconrad/585_fix_history_ids
Fix history ids
* Merge pull request #1201 from oxarbitrage/elasticsearch_tests2
Elasticsearch refactor
* Merge pull request #1271 from oxarbitrage/es_objects
refine es_objects plugin
* Merge pull request #1429 from oxarbitrage/es_objects_templates
Add an adaptor to es_objects and template function to reduce code
* Merge pull request #1458 from oxarbitrage/issue1455
add option elasticsearch-start-es-after-block to es plugin
* Merge pull request #1541 from oxarbitrage/es_objects_start_after_block
add es-objects-start-es-after-block option
* explicitly cleanup external library facilities
* Merge pull request #1717 from oxarbitrage/issue1652
add genesis data to es_objects
* Merge pull request #1073 from xiangxn/merge-impacted
merge impacted into db_notify
* Merge pull request #1725 from oxarbitrage/issue1682
elasticsearch history api #1682
* change ES index prefixes to Peerplays-specific
* sync develop with beatrice
* fix the data writing to ES during sync issues
* fix CLI tests
* brought updates from mainnet branch (#285 )
* Fix unit test failures (#289 )
* fixed unit test failures from the recent merges
* fixed unit test failures from the recent merges
* enable snapshot plugin (#288 )
* sync fc branch(build optimization changes)
* update to es plugin
* fix verify witness signature method (#295 )
* enable mandatory plugins to have smooth transition for next release
* updated tests to keep in-line with plugin changes
Co-authored-by: Sandip Patel <sandip@knackroot.com>
Co-authored-by: Peter Conrad <conrad@quisquis.de>
Co-authored-by: Alfredo <oxarbitrage@gmail.com>
Co-authored-by: Abit <abitmore@users.noreply.github.com>
Co-authored-by: crypto-ape <43807588+crypto-ape@users.noreply.github.com>
Co-authored-by: gladcow <s.gladkov@pbsa.info>
2020-03-09 18:28:13 +05:30
Sandip Patel
2dfaa866ca
Fixed chainparameter update proposal issue
2019-12-05 18:53:38 +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
PBSA Github Manager
e180475f5f
Ensure the transaction signature is validated.
2017-05-28 02:00:18 -03:00