All Questions

Filter by
Sorted by
Tagged with
2
votes
1answer
82 views

How to create trustline between issuer's account and receivers accounts dynamically?

I am trying to create a trustline between issuer's account and receiver's account to send Custom Assets(token) I am following this link var StellarSdk = require('stellar-sdk'); StellarSdk.Network....
1
vote
1answer
27 views

How can I validate a stellar address in Python?

I am using python-sdk to perform stellar operations. Now I need to validate a stellar address. I know that the JS sdk has got a function StrKey.isValidEd25519PublicKey(address); however I cannot find ...
0
votes
2answers
37 views

Peer getting rejected from the private network

Hi I created a private network of 3 nodes with the following configurations like this: # more than one node should validate. threashold = 2 [QUORUM_SET] THRESHOLD_PERCENT=34 VALIDATORS=["$node01","$...
0
votes
1answer
17 views

Encoding data in transaction as only objective

I want to use the Stellar Blockchain to encode 32 bytes hashes, using https://www.stellar.org/developers/guides/concepts/transactions.html#memo. Registering this data is my only objective, so I'd like ...
0
votes
1answer
36 views

Some source accounts does not exist when using Stellar laboratory with my private Stellar network

I had some difficulties but I managed to get my private Stellar network to work. Now I try to create accounts with the Stellar Laboratory but every time I send a transaction, I get an error explaining ...
0
votes
1answer
25 views

Problem in connecting new node to the network

I am trying to setup a network of 2 nodes(node01, node02) and then want another node to be connected to that network. Here is what my configuation is : For node 1: [QUORUM_SET] THRESHOLD_PERCENT=...
0
votes
1answer
22 views

Two XLM accounts via Ledger [closed]

The Ledger "Stellar account viewer" (https://support.ledger.com/hc/en-us/articles/115003797194) apparently one hooks up to just one Ledger account. But I want to have two XLM accounts via Ledger. Can ...
1
vote
1answer
37 views

Stop Horizon/Stellar node growing disk usage

I'm trying to find a way to keep Stellar disk usage in check. I only care about the last 24 hours or so of transactions and don't want to over-provision the instance I started a docker container ...
0
votes
1answer
21 views

Where is fee deduced from balance in the source code?

Simple question, but I failed to grep for the answer… It’s sayed balances are already deduced but where ? I mean which file and which line ? // if we are in applying mode fee was already deduced ...
0
votes
1answer
41 views

Unable to sync testnet node

I am using stellar-core in ubuntu 18.04 . I want to create test-network . But my node is unable to sync , it is stuck showing the log For new syntax: stellar-core help 2019-06-07T11:38:26.889 ...
0
votes
0answers
18 views

Validation of federation server

I am trying to validate the address that a client typed to withdrawal his XLM to. Issue is that using the federation sdk takes over 10 seconds and if the address was not found it can take up to a ...
0
votes
1answer
33 views

Get Account Details Data Missing

I am getting the following error when calling getAccountDetails using the iOS SDK: parsingResponseFailed(message: "The data couldn’t be read because it is missing.") Here is my code. This should use ...
0
votes
1answer
28 views

When total coins will exceed beyond its storage data type

The total initial coins are 1000000000000000000 which is stored in const int64_t data type. Now this particular data type can support maximum 19 digits number. THis whole coin is possessed by root ...
1
vote
2answers
41 views

Is there any valid reason *not* to set masterWeight=0 on an asset issuing account?

Issuing accounts should last as long as the asset, the typical case being "as long as we can forsee". Setting masterWeight=0 and using other accounts for transacting on behalf of the account seems ...
1
vote
0answers
17 views

pBFT in closed 100 node setup

Can Practical Byzantine Fault Tolerance (pBFT) be considered as one of the quorum configurations of SCP of stellar? I am considering the situation where the 100 nodes are run in a closed network.
2
votes
1answer
34 views

Why failed transactions are not shown in Horizon in any way?

Anything I can get of the Horizon about the failed transactions is their count in a ledger. No other info is shown about them. Currently, no one can calculate lumen balance using horizon only because ...
0
votes
0answers
15 views

Trade self-issued coins (no liquidity) on fiat exchange rates

NOTE: Please see my r/Stellar post about my project for more information. Question How to trade self-issued coins using fiat exchange rates? Say I have two coins called MEUR and MUSD, representing a ...
0
votes
1answer
14 views

PHP Script to return wallet balance

Not sure if i'm missing something obvious but is there a simple-ish way to return a wallet balance in a php? Just a simple return.. $xlmaddress = "GDS5etc"; $bal = $getBal($xlmaddress); echo $bal; ...
0
votes
0answers
6 views

how to connect aws postgres in bridge.cfg

how to setup bridge.cfg to connect aws rds postgres "postgres://123:123@mytest.cze528b9qbge.ap-southeast-1.rds.amazonaws.com/stellar_federation?sslmod=require" FATA[0127] Cannot connect to a DB: ...
1
vote
0answers
16 views

What is difference between history and bucketlist?

I am unable to understand the difference between history and bucketlist. As per documentation, bucketlist is used for: Efficiently transmitting a minimal "delta" of changes to the set when a peer ...
0
votes
0answers
27 views

Lumens are Locked

My XLM holdings can't be moved from the Stellar wallet, to an exchange wallet. I've been trying to move various amounts for weeks. The recipient address is definitely correct, I'm using the correct ...
0
votes
0answers
28 views

Full LCL error when running private nodes

I have set up a private Network by three Nodes. After running sometime, showing below message from Node2. 2019-05-27T09:49:55.006 GCTXZ [Ledger ERROR] Full LCL: { hash = ...
0
votes
1answer
33 views

New node is lagging behind the old one

Hi I was doing some experiment (especially after the news of stellar network going down) in my simple 2 nodes private network and got some confusion. Here are the steps I follow: Configured network ...
1
vote
1answer
69 views

Mutiple opearations in single transaction

let 4 accounts are there. The first one (customer) is creating trust with second account (distributor) which sending him 5 assets token. Now what i want is that the third account(having lots of same ...
1
vote
2answers
35 views

How does “accept all assets” federated address in Lobstr work?

in the web interface for lobstr, they tell to to use this federated address for receiving any asset, even if you don't have a trustline. I thought that's impossible. How is that done? I thought I ...
1
vote
0answers
20 views

Why is the /paths endpoint on my custom Horizon deployment abnormally slow?

I was wondering if anyone has an idea what could be causing our Horizon (0.17.6) /paths endpoint to be extremely slow. A simple query takes 1m22s on our custom deployment. On public SDF Horizon the ...
0
votes
0answers
16 views

When to accept different value than voted

In the whitepaper it is stated that a node v accepts a statement a iff either: (1) There exists a quorum U such that v is in U and each member of U either voted for a or claims to accept a. or (2) ...
0
votes
1answer
38 views

I need help I forgot the memo [duplicate]

I accidentally sent my stellar from my blockchain wallet to binance and in the process forgot to put the stellar memo is there anyway to retrieve the funds, what happened to the funds / where do they ...
0
votes
1answer
23 views

Inflation destination address

Why do I have an inflation destination address and a public address? What is the purpose of each? Where do I find my inflation destination staking rewards?
0
votes
1answer
24 views

Inflation Destination or public address [duplicate]

Why do I have an inflation destination and a public address in my stellarport account. How can I tell if I've received any staking rewards? Thank you!
0
votes
1answer
22 views

Bridge Message: Asset not allowed

May 17 15:48:02 bridge[20257]: time="2019-05-17T15:48:02+08:00" level=info msg="New received payment" id=1626714568404993 service=PaymentListener May 17 15:48:02 bridge[20257]: time="2019-05-17T15:...
1
vote
1answer
19 views

How to solve “op_cant_change”?

I set authorization immutable flag to be true. Then I got "op_cant_change". How can I set it to be false again?
2
votes
1answer
30 views

Why Does Stellar Support Authorization-Required Assets?

Are there some common use cases that were anticipated when deciding to support assets that require authorization in order to set up a trust line?
3
votes
1answer
55 views

Why horizon cursors are so obfuscated?

I wonder if there is any system in values for stellar horizon cursors. I tried to ask testnet horizon for ledgers, starting from https://horizon-testnet.stellar.org/ledgers/ and then pressing next ...
0
votes
0answers
21 views

Algorithm to find quorum

Given a set of nodes with information about how the note voted/accepted and their quorum slices and my quorum slices. How can I efficiently determine a quorum? Is there any special algorithm used? ...
2
votes
1answer
25 views

Is all the history of ledgers required for consensus?

In Bitcoin when a validator (miner) decides to join the consensus process, the history of all blocks must be downloaded. Is this concept the same in Stellar? We have encountered a scenario where one ...
0
votes
1answer
14 views

Error getting auth data by request ID: get failed: get failed: pq: relation \“auth_data\” does not exist

I follow the api reference. The extra_memo: 'Test transaction' is in the form. Then, I got the error message "Error getting auth data by request ID: get failed: get failed: pq: relation \"auth_data\"...
1
vote
1answer
21 views

How to send Lumens to an uninitialised stellar address pragmatically

I am new to stellar so please bear with my question if it sounds too basic. So, using the stellar laboratory, I created two accounts lets name 1 and 2. I funded the 1st account with test-net coins ...
0
votes
0answers
22 views

Trying to increase integer value of total coins for root account

i have changed the earlier values of total coins by adding 1 more zero. const uint64_t LedgerManager::GENESIS_LEDGER_TOTAL_COINS = 10000000000000000000 # if __WORDSIZE == 64 typedef long long int ...
0
votes
1answer
77 views

How to configure Full Validator node?

The docs state to set the validator env var, which I did, but how do I specify that I want to run a full validator and not just a basic one? NODE_IS_VALIDATOR=true What other settings are required? ...
1
vote
0answers
50 views

Troubles Setting up Private Stellar Network

I am trying to setup a stellar private network for experimentation purposes. Unfortunately, no matter what i do, the nodes end up not being able to sync up. Mostly, as soon as I change the network ...
2
votes
1answer
37 views

Why doesn't bump sequence affect the sequence number of the transaction it's included in?

Assume the sequence number of an account on the ledger is 5. An incoming transaction contains a bump sequence operation, to bump to 10. The sequence number to be included in the transaction should be ...
1
vote
1answer
14 views

the history-stale-threshold flag - what exactly happens when history is stale?

A recent(ish?) addition to the horizon configuration is the viper.BindEnv("history-stale-threshold", "HISTORY_STALE_THRESHOLD") the doc says: "the maximum number of ledgers the history db is ...
-1
votes
1answer
21 views

Technical Consulting [closed]

Our team create cryptocurrency exchange with stellar's blockchain We have some improvements which we can implement and create pool requests to your public Stellar GitHub. During our investigation, we ...
-1
votes
1answer
20 views

Friendbot bad request (400) invalid_field: “addr”

I am trying to create an account on the stellar Test Network. But whenever I make a request and pass in the public key, I always get this error: I am using the Javascript documentation from here
0
votes
0answers
11 views

History isnt published during catchup, why?

I noticed that stellar-core does not publish history during catchup. It only publishes history once its actually synced. I'm wondering why this is the case. What's the reasoning behind this? I'm ...
0
votes
0answers
38 views

Made few changes in stellar core file. Saved it but cannot see the changes in the new transactions i am performing

I have made certain changes in LedgerManagerImpl.cpp file under src-> ledger folder on line approx 68-72 const uint32_t LedgerManager::GENESIS_LEDGER_BASE_FEE = 50; const uint32_t LedgerManager::...
0
votes
1answer
53 views

Friendbot request fails with 400 (Bad Request)

I am trying to create an account on the stellar Test Network. I am using ASP .Net framework. But whenever I make a request and pass in the public key, I always get this error: Response status code ...
2
votes
1answer
43 views

Publishing history to new history archive results in error of loading history state

I keep getting the [History ERROR] Error loading history state: rapidjson internal assertion failure: IsObject() when trying to publish the state of a recently added node to it's recently initialized ...
0
votes
1answer
59 views

XLM to USD Path Payment - is 'op_too_few_offers' due to me being on Testnet?

My objective is to create a path payment, to pay from one funded testnet account to another. A code snippet is below (Can't include the whole function, I guess because it exceeds stack exchange code ...

15 30 50 per page