jmzkchain / jmzk Goto Github PK
View Code? Open in Web Editor NEWBoost Engine for Regulation and Security
Home Page: https://www.vastchain.cn
License: Other
Boost Engine for Regulation and Security
Home Page: https://www.vastchain.cn
License: Other
WARNING: Target "chainbase_test" requests linking to directory "/usr/include/openssl". Targets may link only to libraries. CMake is dropping the item.
CMake Error at libraries/utilities/CMakeLists.txt:22 (add_library):
CXX_STANDARD is set to invalid value '17'
CMake Error at libraries/appbase/CMakeLists.txt:45 (add_library):
CXX_STANDARD is set to invalid value '17'
CMake Error at libraries/appbase/examples/CMakeLists.txt:1 (add_executable):
CXX_STANDARD is set to invalid value '17'
CMake Error at libraries/rocksdb/CMakeLists.txt:160 (add_library):
breakpad
is used to produce minicore file when encountering crash and debug symbols will be uploaded to S3 when building Docker image. It's needed to have one script to support the whole process when a crash is produced:
breakpad
client to get the hash
of crashed evtd
program.hash
.breakpad
to produce the detail crash stack.[ 90%] Building CXX object libraries/chain/CMakeFiles/evt_chain.dir/address.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See http://bugzilla.redhat.com/bugzilla for instructions.
make[3]: *** [libraries/chain/CMakeFiles/evt_chain.dir/address.cpp.o] Error 4
make[2]: *** [libraries/chain/CMakeFiles/evt_chain.dir/all] Error 2
make[1]: *** [programs/evtwd/CMakeFiles/evtwd.dir/rule] Error 2
make: *** [evtwd] Error 2
Current implementation is to hack the backup process of token database, but it will cause some bugs and not independent of RocksDB. Consider re-implement it via scan all keys and backup in binary format.
ERROR: Volume evtwd-data-volume declared as external, but could not be found. Please create the volume manually using docker volume create --name=evtwd-data-volume
and try again.
[ 64%] Built target rocksdb
[ 64%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/uint128.cpp.o
In file included from /root/evt/evt/libraries/fc/include/fc/uint128.hpp:6:0,
from /root/evt/evt/libraries/fc/src/uint128.cpp:1:
/root/evt/evt/libraries/fc/include/fc/exception/exception.hpp:8:20: fatal error: optional: No such file or directory
#include
^
compilation terminated.
make[3]: *** [libraries/fc/CMakeFiles/fc.dir/src/uint128.cpp.o] Error 1
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
make[1]: *** [programs/evtd/CMakeFiles/evtd.dir/rule] Error 2
make: *** [evtd] Error 2
Bonus is one of main features will added to the v3.0. And there're two parts: passive bonus and active bonus. Passive bonus will be first implemented.
There has been one issue introduced since EVT 3.0. Sometimes the incoming symbol may not be the same as expected one. Like 5,S#123, 6,S#123. Currently only the symbol id is checked, but the precision is not checked.
I would like to point out that identifiers like “__internal
” and “__prepare_register
” do not fit to the expected naming convention of the C++ language standard.
Would you like to adjust your selection for unique names?
Currently we only support transfer permission in NFT domain not in FT. We'd like to add transfer permission to FTs for better flexibility. And due to this flexibility, users may not notice there's a chance that the issuer of FT can change the transfer permission at any time. Additional reserved meta field .disable-set-transfer
will be added for explicit declaration of cannot setting transfer permission.
pg_pathman
).
pg_pathman
into postgres
docker image. Currently we use image from bitnami, maybe we need to build our one.postgres_plugin
don't support all the actions(e.g. lock, bonus, suspend) processing.{"code":500,"message":"Internal Service Error","error":{"code":13,"name":"St9exception","what":"bad any_cast","details":[]}}
why I get this error when using issuefungible api.?
It's needed to add multisig addresses on everiToken. An address is not belongs to one person but a group of people manages it together for safety. Since group is the fundamental mechanism of multisig control in everiToken, we'll add one called group generated addresses.
The address is made up of (.group
, name
, integer
) and the owner permission of this address will be refer to the permission of the group itself.
Currently we build a mixed of runtime and persist rollback feature in token database based on the RocksDB snapshot feature. In order to trace the operations it's need to store the key and value updated.
But for some keys, the size of values is small and the size of key is large. Like assets (address -> property) and bonus receiver(address only). So when facing frequent updating and adding much of these key-values, the overhead of these feature cannot be ignored.
So it need to build one more write cache for the large-key-small-value in memory for fast lookup, rollback and use less memory.
When query PEVT detail by /evt/get_fungible
API, server will return: There's no balance left in EVT0000009HVUEuxxnwTzKUUHMwXscMC3UjLoGrB3h55n1Ak53xRd with sym id: 5,S#2
.
Crash code:
** 57 auto n2 = *(uint128_t*)key.data();
0x10060711a <+666>: movq -0x230(%rbp), %rax
0x100607121 <+673>: movq %rax, -0x108(%rbp)
0x100607128 <+680>: movq -0x108(%rbp), %rax
0x10060712f <+687>: movq (%rax), %rax
0x100607132 <+690>: movq (%rax), %rcx
0x100607135 <+693>: movq 0x8(%rax), %rax
0x100607139 <+697>: movq %rax, -0x248(%rbp)
0x100607140 <+704>: movq %rcx, -0x250(%rbp)
** 58 auto n = *(name128*)key.data();
59 (void)n2;
0x100607147 <+711>: movq -0x230(%rbp), %rax
0x10060714e <+718>: movq %rax, -0x110(%rbp)
0x100607155 <+725>: movq -0x110(%rbp), %rax
0x10060715c <+732>: movq (%rax), %rax
-> 0x10060715f <+735>: movaps (%rax), %xmm0
0x100607162 <+738>: movaps %xmm0, -0x260(%rbp)
Currently we've used cache in the layer of RocksDB of token database. The cache in RocksDB is called block cache which stores some pieces of SST table data into memory. But it's needed to have an objects cache which stores the instances at token database level. Because when reading object from token database, it needs to deserialize binary data into object data. And it takes some time especially for the complex type like passive_bonus
.
Token database has been refactored recently and mainly APIs has been changed. Current unittests cannot be compiled and need to be rewritten.
Current in our API tests, the /history/get_transactions is not passed. And after digging into this issue, it's confirmed that the keys signed on trx which inserted into Postgres is not correct.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.