Nathan Hourt
1c0de74aa7
General fixes
...
Fix warnings, build issues, unused code, etc.
2020-08-23 14:51:45 -05:00
Peter Conrad
9ae796c0a2
Externalized serialization in protocol library
2020-08-23 14:43:21 -05:00
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
6074749813
Ref #1506/#1737: Some requested changes
2020-08-23 14:37:35 -05:00
Nathan Hourt
f57dc27f55
Probably fix Docker build
2020-08-23 14:37:02 -05:00
Nathan Hourt
14f627c014
Ref #1506 : Isolate chain/protocol to its own library
2020-08-23 14:37:00 -05:00
abitmore
d54cc47a4f
Impl. pack/unpack functions for extension class
2020-08-23 14:18:59 -05:00
Nathan Hourt
9ac63ce0b3
Fixes
...
Remove boost::signals from build system; it's header-only so it's not
listed in cmake anymore.
Also remove some unused hashing code
2020-08-23 14:18:59 -05:00
Nathan Hourt
13a76d25ac
Replace improper static_variant operator overloads with comparators
2020-08-23 14:18:59 -05:00
Nathan Hourt
54ce371a4a
Remove all uses of fc/smart_ref
...
It's gone, can't use it anymore
2020-08-23 14:18:59 -05:00
Peter Conrad
784221986a
Separate exception declaration and implementation
2020-08-23 14:18:59 -05:00
Peter Conrad
0569efc068
Replaced fc::array with std::array
2020-08-23 14:18:59 -05:00
Nathan Hourt
ced4380664
Remove old macro
...
This macro is now in FC, so no need to define it here anymore
2020-08-23 14:18:55 -05:00
Nathan Hourt
953a1314a3
Fixes/Remove Unused
2020-08-23 14:18:24 -05:00
John Jones
a24a6bfc68
replace smart_ref with shared_ptr
2020-08-23 14:18:22 -05:00
Peter Conrad
f25c4f6ae6
Replace fc::uint128 with boost::multiprecision::uint128_t
2020-08-23 14:16:41 -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
03ebcc6f3b
update variable type to uint64
2020-04-10 09:39:09 -03:00
pbattu123
cb7429e818
code improvement with edge case handling
2020-04-07 01:31:17 -03:00
pbattu123
29f41ec7da
nh5050:winner ticket id changes
2020-04-06 12:30:55 -03:00
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
pbattu123
046ee5b75c
Merge pull request #257 from peerplays-network/feature/GRPH-205
...
Backport ElasticSearch plugins from BitShares
2020-02-13 08:46:45 -04:00
pbattu123
11919cdbd9
brought updates from mainnet branch ( #285 )
2020-02-12 23:38:23 +05:30
Alfredo Garcia
de4faee7f0
Merge pull request #1073 from xiangxn/merge-impacted
...
merge impacted into db_notify
2019-12-31 00:22:51 +03:00
oxarbitrage
00f14c4729
Merge pull request #444 from oxarbitrage/elasticsearch
...
Elasticsearch plugin
2019-12-30 21:09:24 +03:00
pbattu123
054f06adc7
Beatrice hot fix(sync issue fix)
2019-12-20 21:55:45 -04:00
pbattu123
38bb9226ec
Move GPOS withdraw logic to have single transaction(also single fee) and update API
2019-12-05 13:46:13 -04:00
Alfredo Garcia
3a2def7311
Merge pull request #137 from peerplays-network/feature/GRPH-92
...
[GRPH 92] Build optimization
2019-12-03 20:43:50 -03:00
Sandip Patel
5606fc5fc2
Port plugin sanitization code
2019-12-03 15:17:45 +05:30
gladcow
40c2fd8783
fix compilation issues
2019-12-02 17:41:13 +03:00
pbattu123
0b2c9dde22
remove default value for extension parameter
2019-11-29 10:15:13 -04:00
Peter Conrad
854119233a
Externalized serialization in protocol library
2019-11-29 14:10:40 +03:00
Peter Conrad
2358149e46
Externalized genesis serialization
2019-11-29 14:10:40 +03:00
Peter Conrad
b3d6058485
Externalized db objects
2019-11-29 14:10:40 +03:00
Peter Conrad
71d8bfd843
Externalize serialization of blocks, tx, ops
2019-11-29 14:10:40 +03:00
Sandip Patel
614e51cca0
check witness signature before adding block to fork db
2019-11-29 16:08:23 +05:30
Sandip Patel
c17d73f11b
set extensions default values
2019-11-22 18:46:55 +05:30
Alfredo Garcia
e7e08169c8
Merge pull request #116 from peerplays-network/GRPH-81
...
[GRPH-81] Different performance optimization
2019-11-20 13:36:41 -03:00
abitmore
1939cd127b
Added getter for core dynamic data object
2019-11-08 15:42:09 +03:00
abitmore
dcc6902720
Added getter for witness schedule object
2019-11-08 15:42:09 +03:00
abitmore
04102d549c
Change static refs to member pointers of db class
2019-11-08 15:39:16 +03:00
abitmore
36e318a503
Improve update_expired_feeds performance #1093
2019-11-08 15:39:16 +03:00
Alfredo Garcia
25ab039a58
Merge branch 'develop' into develop_gpos
2019-11-07 08:08:53 -03:00
Sandip Patel
0bcfaa385b
Improve account maintenance performance ( #130 )
...
* Improve account maintenance performance
* merge fixes
* Fixed merge issue
* Fixed indentations and extra ';'
2019-11-07 11:25:02 +05:30
Alfredo Garcia
f831f9527f
Merge branch 'qa_gpos_18.04' into develop_gpos
2019-11-05 14:34:04 -03:00
Sandip Patel
5d36258f0c
case 1: Fixed last voting time issue
2019-10-31 15:02:05 +05:30
pbattu123
8269c94601
Merge branch 'qa_gpos_18.04' into BLOCKBACK-155
2019-10-25 10:21:55 -03:00
pbattu123
48d0d88ff0
changes to update last voting time
2019-10-23 18:33:17 -03:00