All Questions

0
votes
0answers
5 views

no matching function for call to unpack_action_data

#include <eosiolib/eosio.hpp> #include <eosiolib/print.hpp> #include <../eosio.token.hpp> using namespace eosio; These are the codes that i added for dependency at start but the ...
1
vote
1answer
11 views

Transaction expiration time

Is it possible to configure or change the "expiration": "2018-06-26T14:33:24", time? Currently its 30 seconds on my local node after I generate a transaction so I do not get time to execute it and ...
0
votes
0answers
5 views

Difference between ref_block_num and ref_block_prefix and how to retrieve it?

I am trying to construct a header of a transaction. So my question is - what is the difference between ref_block_num and ref_block_prefix in a transaction header and how to retrieve it? is there a ...
0
votes
1answer
27 views

How is the the crash of a BP handled?

I am wondering if a BP crashes, how do the remaining 20 BPs know this? If they do not know, all block not irreversible so we can be hack? Please give me some details for this. Thanks!
0
votes
1answer
16 views

Access public variables of a TABLE in an EOS Smart Contract

I'm trying to access data inside a smart contract. The contract is visible here for example. The documentation for the smart contract is accessible here An example of an instance of the contract (...
0
votes
1answer
18 views

Back up EOS ecosystem

I read some comment on reddit and this page, some people talked, EOS uses 21 BPs as active, and all of rest are standby. So I think EOS will use a server as a gateway to handle this like HAProxy, ...
0
votes
0answers
8 views

definition in Fcbuffer

Currently I am trying to do offline signing of transaction. In order to do that, I need to serialize the transaction and I need to use Fcbuffer for that. Following the step in the Fcbuffer link, does ...
0
votes
1answer
17 views

What is the ledger in EOS?

When I create a smart contract, e.g: game. what does the ledger store? (EOS tokens, or heathy points, level of user). If the ledger stores heathy points, level, so how I can push it into block (...
1
vote
1answer
18 views

Relation chain_config fields and tx_cpu_usage

In chain_config.hpp I need a new field "alfa_opt". struct chain_config { ... uint32_t max_block_cpu_usage; ///< the maxiumum billable cpu usage (in microseconds) for a block ...
1
vote
1answer
13 views

Push signed transaction without packed transaction data in EOS?

In ripple, bitcoin and ethereum you can sign a transaction and push/broadcast signed transaction hash only. That effectively represents the whole transaction. for example ...
0
votes
0answers
11 views

nodeos_forked_chain_lr_test ***Failed

I am new in the EOS. I collect eos from github source. After importing in the path mongo location and start mongo like separate process I started tests. One test has not passed 46/49 Test #46: ...
1
vote
2answers
14 views

How refund if I undelegate cpu with serveral times?

If delegate some cpu form accountnum11 to accountnum12, then I want to undelegate with the below command: cleos system undelegatebw accountnum11 accountnum12 '0.0000 EOS' '10.0000 EOS'. In normal ...
1
vote
0answers
14 views

When receive a transaction, how to EOS push it into block chain?

I am researching how to transaction work in Block producer(BP). I knew when BP received a transaction from user, maybe it start from push_transaction function then to apply_context::exec and ...
0
votes
2answers
27 views

EOSIO Tutorial : publishing contract error

I'm working on EOSIO tutorial and now I'm workingon https://developers.eos.io/eosio-home/docs/data-persistence part. Right now, I'm stuck on deploying contract. jongbok@DESKTOP-96ICBPJ:~/eos/...
1
vote
2answers
28 views

Docker is deprecated. What is the recommended way to deploy?

Apparently, Docker support has been deprecated: This image is now deprecated. Future builds will discontinue on January 1st, 2019. This image will be removed on June 1st, 2019. However, as ...
1
vote
1answer
12 views

Is it possible to have a secondary index as unique?

As per title, I'm using a key256 as a datatype for a secondary index on a multi-index table and want it to be unique. Can't find any documentation on it. TIA.
1
vote
1answer
15 views

How do I listen to multiple accounts using get_action_traces in dfuse

According to this DEC 5th update: "Added support to filter multiple accounts, receivers and action_names in the get_action_traces WS request. Please use that instead of doing multiple parallel ...
2
votes
3answers
704 views

Is EOS fully decentralized?

Today, I researched how people can vote 21 BPs in the EOS system, so I am wondering, is EOS fully decentralized or does it still use a server center?
0
votes
0answers
8 views

Understanding signal in bnet_plugin?

How can I understand this code /** * Publish data to a channel. This data is *copied* on publish. * @param data - the data to publish */ void publish(const Data& ...
0
votes
1answer
20 views

How to get balance using smartcontract in the new CDT

Is there a way to access the balance(of EOS or any token for that matter) of a given account using smart contract in the new CDT? Thank you
0
votes
1answer
15 views

How to include external library to smart contract?

I am trying to add libcryptopp library to my contract but when I try to compile with eosio-cpp I get an error that header files cannot be found. This is my code: #include <eosiolib/eosio.hpp> #...
0
votes
1answer
26 views

How to avoid “Warning, empty ricardian clause file” warnings?

When executing eosio-cpp -I include -o eosio.token.wasm src/eosio.token.cpp --abigen over the eosio.token smart contract I get the following warnings: Warning, empty ricardian clause file Warning, ...
0
votes
1answer
35 views

get data from a smart contract

I am a bit out of my depth here but I'm trying hard to keep up. I'm trying to call a method from a smart contract on EOS. That's the Bancor Smart Contract I'm interested in in particular. Just for ...
2
votes
0answers
13 views

how to solve Error Details: Cannot charge RAM to other accounts during notify on testnet

I need help for an issue developing an EOS dapp. I want to call a contract function when someone transfer EOS to my contract. For this i used the apply method to call the function upon any transfer ...
0
votes
1answer
11 views

Is there a convert API for Bancor on EOS?

I was looking at the Bancor's documentation and was particularly interested in the Bancor API, mostly the convert function as described here. I've seen that it says only ETH is supported as of yet ...
0
votes
1answer
24 views

cleos get actions returns empty list!

I am running EOS on my computer as a local network. I created a smart contract and am able to invoke the actions using both cleos commands and through eosjs. When I run cleos get table command I see ...
1
vote
1answer
30 views

How to make a transfer from nodejs (using EOS)?

I have code working with Ethereum using nodejs and a send transaction. Is there an equivalent using eos? The basic task under ethereum is that A pays B with the server.js file making the transfer and ...
0
votes
1answer
16 views

How to uninstall CDT and reinstall?

On Ubuntu 16 / Windows with Linux Module. For reinstalling EOSIO, I'm just removing my eosio_1.5.0-1-ubuntu-16.04_amd64.deb Then: wget https://github.com/eosio/eos/releases/download/v1.5.0/eosio_1....
0
votes
1answer
6 views

Eosio account create problem

cleos create account eosio mark prikey1 prikey2 if i run this it will show error Whether I must import key to default wallet or to eosio etc? Thanks
0
votes
0answers
8 views

Set nonce in action when calling action(…) to avoid 3040009 deferred_tx_duplicate

In eosio.cdt v.1.4.1 Calling twice in the same action eosio::transaction txn{}; txn.actions.emplace_back( eosio::permission_level(_self, "active"_n), "eosio.token"_n, "transfer"_n, std::...
0
votes
1answer
7 views

How to create private keys?

I created a collection of wallets for a private EOS testnet and I can generate passwords for the wallets. For the private key, there seems to be just one given in the docs: ...
0
votes
1answer
19 views

Eos problem for ram and dapp development [closed]

where to purchase ram and rent cpu and bandwidth? if I rent cpu and bandwidth with eos more than the three days limit what happens? how much it usually cost to run dapp based on eos? any good ...
1
vote
1answer
23 views

Runtime problems with EOS on Docker

I have a native build of EOS 1.1.4 on MacOS for developing and stress testing a smart contract. No problems. However, when I run the contract in Docker (on both Ubuntu and MacOS) I occasionally but ...
0
votes
2answers
17 views

Send ID for transaction inside smart contract can not be _self

With the last CDT, to send transaction inside smart contract, here is my code eosio::transaction out; out.actions.emplace_back(eosio::permission_level{get_self(), "active"_n}, get_self(), "...
0
votes
1answer
5 views

Latency When I’m Using get_head_info

When using the get_head_info, the data is always pushed intermittently. For example, if there’s no data pushed in the first 1-5 seconds, then it would all come in on the 6th second. Is this caused by ...
0
votes
0answers
16 views

What is the significance of passing account_name code to this contract's action?

Link to contract void receivedTokens( const currency::transfer& t, account_name code ) { if( t.to == _self ) { string cMemo = t.memo; string stringName(...
0
votes
1answer
18 views

Using Proxy token contract from a smart contract

I am reading through the documentation of EOS Proxy contract but I am having hard time understanding the following You can do this from a smart contract without using this intermediate proxy. ...
0
votes
0answers
29 views

Trying to issue token and getting the following error

Assert Exception (10) !action_type.empty(): Unknown action create in contract eosio.token This is my terminal now: gavin@dreambidio:~/eos/build/contracts/eosio.token$ cleos set contract eosio....
0
votes
1answer
42 views

How to use --replay-blockchain on stopped EOS 'nodeos' container

Setup local Docker EOS "nodeos" container. Process running fine. docker run \ --name nodeos -d -p 8888:8888 \ --network eosdev \ -v /tmp/eosio/work:/work \ -v /tmp/eosio/data:/mnt/dev/data \ -v /tmp/...
2
votes
1answer
27 views

How do I connect to the Jungle 2.0 Network with dfuse API

Where is the dfuse API endpoint to connect to the Jungle 2.0 Network?
1
vote
1answer
17 views

Is it possible to operate with not EOS-based tokens in EOS dapps?

I can't understand exactly. Is it possible to use not EOS based tokens (eth for example) for payment purpose in EOS dapp directly. Or it can be done only via 3rd party exchanges?
1
vote
2answers
40 views

Restricting runtime of a loop (Transaction took too long)

I want to manage a worker that loops over events and should finish as many tasks as possible in one transaction. Nodes have a config for max-transaction-time = 30. Is 30ms used on mainnet for all BP ...
0
votes
1answer
12 views

Different of configuration on computer's BPs?

I have a question about configuration of computer's block producer(BP). My question is: In 21 BPs, if have some BPs which have lower configuration of computer than other, they will never be approved ...
0
votes
3answers
24 views

What is different between 'build eosio from source' and 'using pre-build binary'

setting eos with pre-build binary is super fast with less errors. What is good thing with building from source?
1
vote
1answer
16 views

Table not listed in generated abi file

This is my sample code. Tables are not generated when I compile the contract. Whats wrong? #include <eosiolib/eosio.hpp> #include <eosiolib/print.hpp> #include <eosiolib/transaction....
2
votes
1answer
32 views

Cleos - Unable to connect with Keosd via Unix Socket Path

cleos --wallet-url unix://home/user/eosio-wallet/keosd.sock wallet list Unable to connect with keosd Error :- unix://home/user/eosio-wallet/keosd.sock; is keosd running? While Keosd is ...
0
votes
0answers
20 views

How likely that eos will have a soft fork?

In dpos system like eos, selected nodes take turns to create a block. How likely that they create a soft fork and the previously created block(s) get dismissed? Is there any statistics for it?
0
votes
1answer
13 views

How to get/query creation time of account in mongodb?? (inserted data with monogo_db_plugin)

I'm syncing with mongo_db_plugin enabled. But, when I see 'acctounts' collection in mongo, createAt is time created in monogo, not actual eos mainnet. How can I query mongo to get accounts creation ...
0
votes
0answers
13 views

How connect to public mainnet node with GraphQL?

I hear what EOS nodes have GraphQL plugin. Where I may get scheme and how connect them?
1
vote
1answer
19 views

Is there an official recommendation from Block One about how to install EOSIO?

The docs state the Docker image is not maintained - https://developers.eos.io/eosio-home/v1.7.0/docs/introduction The Docker image is no longer maintained has been deprecated. The eosio/eos image ...

15 30 50 per page