All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
8 views

Unable to delegate CPU because of low CPU Staked

I wanted to stack some EOS for CPU but cannot do it because of low CPU stacked on my account (currently only 1 EOS staked for CPU). How am I going to fix it ? I read that I need fast BP for execute ...
0
votes
1answer
16 views

Why don't dFuse return EOS-token transactions sent from a smart contract?

Why don't this dFuse-query return the latest incoming transaction from account cptblackbill? ../search/transactions?start_block=0&block_count=1400000&limit=20&sort=desc&q=receiver:...
0
votes
1answer
12 views

How to get Block using JsonRpc from eosjs using nodejs?

Whenever I try to get the block using the eosjs in NodeJS like in the example I get the error 'Invalid Block number or ID, must be greater than 0 and less than 64 characters' Altho when I use other ...
0
votes
1answer
10 views

call to implicitly-deleted copy constructor

I'm unable to compile a small test contract and am hoping for guidance. I have a class called Account, in the following 2 files: // --- account.hpp #pragma once #include <string> #include &...
0
votes
0answers
10 views

How to implement a key escrow system?

I want to make a smart contract that acts as an escrow for a decryption key : there is a file stored outside blockchain which is crypted. I'd like the smart contract to somehow keep the decryption ...
0
votes
0answers
14 views

eosio::print abnormal behaviour

Using eosio::print changes the behaviour of my contract. uint64_t generateID(std::string str) { uint64_t ret_val = 0; eosio::checksum256 digest = eosio::sha256(str.c_str(), ...
0
votes
0answers
9 views

How to make nodeos save only last “n” blocks?

I am running EOS node and synced using latest snapshot from eosnode.tools. I want to make my node save only latest 1 000 000 blocks. What should I do achieve this? May be there is a specific argument ...
0
votes
0answers
63 views

Where can one see which EOS Proxy is paying out the most rewards when delegating our votes to them?

Is there a site where one can go to see which EOS proxy is paying out the most reward and which Proxy has the most votes?
0
votes
1answer
15 views

What after push transaction?

I have created a custom action called hash. And I have push transaction with that action successfully. now when I fetch a transaction with transaction_id, it responds transaction object as follows: { ...
0
votes
1answer
12 views

Do tokens waiting to be unstaked still function as staked tokens?

If I unstake 1000 EOS tokens, for example, do they still work as staked tokens during the 3-day waiting period? i.e. will bp votes I have cast still count until the exact moment they are unstaked?
0
votes
1answer
5 views

Error 3200002: invalid http response Error Details: Invalid content-length response

Everything was working fine till Saturday evening. But when I tried to open wallet using cleos wallet open So it throws 3200002 error. Thanks
0
votes
1answer
20 views

Why I didn't initialize database?

I want to add the my multi_index in controller db. And Finally Adding all class is set up. But When eos program initialize the database, it didn't work. my error log : /eos/libraries/chainbase/...
0
votes
0answers
10 views

EOS node stopped syncing blocks with a warning

does anyone can help me understand whats happening with nodeos? warn 2019-10-31T16:09:35.317 nodeos wabt.hpp:630 translate_one ] misaligned reference warn 2019-10-31T16:...
0
votes
1answer
13 views

Unknown action hashit in contract eosio

stdClass Object ( [code] => 500 [message] => Internal Service Error [error] => stdClass Object ( [code] => 3050000 [name] => action_validate_exception [what] => Action validate exception [details] => ...
0
votes
0answers
10 views

Error 3060002: Account Query Exception

I am getting failed to retrieve account for eosio.token while transferring tokens from account1 to account2. (dev) root@dev-eosio-1:/home/ldxdev/sghxtoken$ cleos get currency balance token1 ...
0
votes
1answer
8 views

What should I do to specify an optional action parameter for cleos?

I wrote an action that has an optional parameter, as something like: [[eosio::action]] void foo(..., const std::optional<name>& recipient); Then in the generated .abi, it is represented as:...
0
votes
1answer
10 views

How can I specify a proxy agent to connect?

I'm trying to get the balance of an account with this code (dfuse example): global.fetch = require("node-fetch"); global.WebSocket = require("ws"); const { createDfuseClient } = require("@dfuse/...
0
votes
0answers
11 views

Transfer the transaction again after it was not appearing in blockchain explorers

I was sending the transaction using the command like: cleos -u "https://eosapi.blockmatrix.network:443" transfer {account_from} {account_to} "{amount} EOS" "{memo}" and got the problem with one ...
0
votes
1answer
27 views

Are all actions on a transaction supposed to be included in the block?

I've noticed something strange that is confusing me. I have a transaction that includes multiple actions on it, but it appears that the "transfer" action did not get recorded in the actual block. You ...
0
votes
1answer
47 views

How can we retrieve table data with secondary Index in EOS table

this is my table struct [[eosio::table]] payment_made { uint64_t pay_id; uint64_t loan_id; uint64_t pay_amunt; time_point_sec pay_date_req; time_point_sec pay_date_approve; ...
0
votes
1answer
8 views

Multi index table asks an unusual permission to emplace new row

Problem I'm trying to emplace a new row in a multi-index table, but it tells me that I don't have the authotity of the row key name to do it. Code Multi-index table definition struct [[eosio::...
0
votes
1answer
23 views

Where in the code are eosio.prods permission set

where can I find the code in which eosio.prods permission are set? I couldn't find it in system_contract or producer_plugin. thx for any help!!
0
votes
0answers
6 views

Cannot fix 'dirty flag set (likely due to unclean shutdown) issue. std::exception

As the title says, I've been a victim of the dirty flag error and I really do not want to delete all my blocks. I have ran nodeos --replay-blockchain which did nothing for me nodeos --fix-reversible-...
2
votes
1answer
46 views

How do I pass an iterator?

suppose I have a table: struct [[eosio::table]] _stuff { symbol curr; // other stuff uint64_t primary_key() const { return curr.code().raw(); } }; typedef eosio::multi_index<name("...
0
votes
1answer
25 views

multisig exec executes the proposed transaction but does not transfer the funds

I have a multisig transaction that transfers funds from a msig account "mymultisig1a" to "partner1111a" and it seems to execute properly and generates a transaction id but does not actually transfer ...
0
votes
0answers
6 views

error Error: Abi tokenAccount is not cached action.data transaction.actions

I am trying to push a transaction to another account through eosjs. But before doing that I want to call the balance of that account to check if the person is trying to transfer a higher value than ...
0
votes
0answers
4 views

setting the cleos -u parameter

I'm running cleos without a local node and attaching to different remote nodes. This involves constantly remembering and typing in the -u parameter. Is there a config file where I can set cleos -u ...
0
votes
1answer
26 views

Invalid packed transaction

I am trying RPC API. Here is the code which I am using on cmd for testing a dummy transaction. curl --request POST --url http://localhost:8080/v1/chain/push_transaction --header 'accept: application/...
0
votes
0answers
6 views

EOSJS getting an error while sending a transaction [duplicate]

I am getting an error while pushing a transaction to another account. const eos = Eos(config); const expiration = (new Date(new Date().getTime() + 2*60000)).toISOString(); const ...
0
votes
0answers
3 views

How to know which account has registered specific account?

Is there a way to know account's registerer account?
2
votes
1answer
18 views

What rights does a “Privileged” account have?

Is it possible for the "privileged" account to change account permissions on any account? What else can it do? Are the privileged permissions documented anywhere?
0
votes
1answer
8 views

Is there any way to see who has signed an msig trans and who needs to sign it?

I'm testing out the msig capabilities. Once an msig transaction has been proposed , how can you determine who has already signed it and who needs to sign it? Is there any way to notify the ...
0
votes
2answers
20 views

SELECT value from “column” for which row is retrieved

Problem Say I have a table with the following structure. int value | asset tokenType 4 | 0 bitcoin 7 | 0 altcoin. Now I also have this function where I pass in an asset and i want to ...
4
votes
2answers
117 views

How to calculate `action_mroot`

UPDATE #2: So per @conr2d's comment on his answer & @riccardo's elaboration, it turns out that the action_digest in the merkle function in the EOS code base is not using the action_digest within ...
0
votes
1answer
12 views

Transaction NET usage on eosx.io and 'get account' don't match

When my account did not have enough NET resource ( 12 bytes limit at that moment) and I sent a transaction, I got an error transaction net usage is too high: 120 > 12 I bought NET resource and ...
0
votes
2answers
12 views

nodeos lib doesn't found

I tried both ubuntu16.04 and ubuntu18.04 with version 1.8.4 installed on Debian 4.9.144-2 (2019-01-21), and always get below error when start nodeos: nodeos: /usr/lib/x86_64-linux-gnu/libcrypto.so.1....
0
votes
1answer
20 views

Can we use addresses to query balances from EOSJS?

I wanted to know if we could use addresses instead of account names to query balances (get_currency_balance) from eosjs?
0
votes
0answers
17 views

Problem in deferred transaction function

I have added the problem statement as a comment in code so please read the commented line in code. void mainloan::checkdaily(uint64_t loan_id) { require_auth(_self); auto itr = loan_table.find(...
0
votes
0answers
14 views

EOS deferred transaction Error while running

I'm doing this but i'm getting an error, what should i improve? void mainloan::checkdaily(uint64_t loan_id) { auto itr = loan_table.find(loan_id); auto borrower = itr->borr_name; eosio::...
0
votes
2answers
24 views

how do i use current_time_point() to store date in eos table

I have tried This way and its not getting store,infact its giving me error,please sugguest if im making any mistake. error: use of undeclared identifier 'current_time_point'; did you mean '...
0
votes
0answers
7 views

Querying an instance of cleos synced to the mainnet online

Is there a website that run a nodeos sync to the mainnet blockchain and allow users to run simple cleos command like cleos get account <name>
0
votes
1answer
13 views

Return token to owner after initiating a transfer to my contract

Good Day, I am working on a contract where for example, If I send 2 ETH to a contract, ( 1 ETH = 2 Cryptokitty tokens ) then that contract is supposed to return me 4 Cryptokitty tokens. What I Have ...
0
votes
0answers
12 views

How to use md5.sum in eos contract

I search nothing about md5 in eosio source code. When i use external md5 lib, i encounter the link error like this 'env._Z7md5sum6NSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE ...
1
vote
1answer
24 views

Is it still possible to get an EOS Genesis account? How or where?

I'm an EOS-newby, who is wondering if it is still possible to create or get hands on an EOS Genesis account. It is needed for an Airgrab I would like to join. Thanks!
0
votes
0answers
10 views

Missing permission of account, but permission is given to acting account

I have account1 and account2. account1 has a contract with an action called update(): void mycontract::update(){ require_auth(get_self()); table_t t(get_self(),scope); auto r = t.find(index); ...
1
vote
1answer
48 views

How to start sync EOS with mainnet?

looks like EOS is not syncing? I can only see operators in log file and that's basically it. I am starting with these params: nodeos -e -p eosio \ --genesis-json='genesis.json' \ --plugin eosio::...
0
votes
1answer
26 views

Store enum value in table

I have a simple enum (or enum class, neither one is working ) enum vote_option { upvote = 0, downvote and a table which will store a value of that enum type. struct [[eosio::table]] poll { ...
0
votes
0answers
19 views

EOS CPU Full i'm do nothing

Why CPU max overflow what I do nothing. Just I looked at https://bloks.io/ (or) https://eospark.com/ Of my account. Last Transaction is Oct-07-2019, 11:18:08 PM. to now is Oct-09-2019.
1
vote
1answer
166 views

Code examples for ONLY_BILL_FIRST_AUTHORIZER

Can someone please add code example or describe how to only bill first authorizer? I have tried but can't get it to work. Thanks!
0
votes
0answers
19 views

Eosio 1.8 is released and live, but are the features activated as of today 2019 Oct 7?

I read that the eosio 1.8 is live, but much of the new features are not activated. Where can we see what 1.8 features are activated or pending activation?

15 30 50 per page