8 votes
Accepted

Testing Stellar for high volume of operations per second

Start the performance troubleshooting from pinpointing a bottleneck. During the test execution run top to get the list of the top resource consuming processes. There are 4 possible options: Your load ...
Orbit Lens's user avatar
  • 6,886
7 votes
Accepted

What can cause horizon to have incomplete data?

I think I had run into the same issue, as Stellar Core by default uses a "fast-sync" mode (instead of "full-sync"). In terms of architecture, Horizon just takes the data stored at Core's DB, i.e. ...
cesarm's user avatar
  • 1,527
2 votes

Stellar failure safety with UNSAFE_QUORUM false

It says Can't have FAILURE_SAFETY=0 unless you also set UNSAFE_QUORUM=true. I guess you might have set somewhere FAILURE_SAFETY=0. In the example config, it says A value of 0 is only allowed if ...
cesarm's user avatar
  • 1,527
2 votes
Accepted

Create an account on a private stellar network

You need to choose your private network first. StellarSdk.Network.use(new StellarSdk.Network('your_private_network_passphrase_here')) Then create an instance of StellarSdk.Server using the link to ...
Orbit Lens's user avatar
  • 6,886
1 vote
Accepted

Are lumens required for a custom network?

A custom network is basically just running an own seperate ledger/blockchain, so it does not cost any real XLM. There will be your own equivalent of network tokens that you'll be able to mint yourself ...
sui's user avatar
  • 2,534
1 vote
Accepted

How to configure native currency in a private network

Change the name of the native currency It's always native in the Horizon server response, but you can name it as you like in the interface. I guess that if you are going to create a separate chain, ...
Orbit Lens's user avatar
  • 6,886
1 vote

How to find inflation allocation date and to which account inflation money got transferred

It is mentioned in the documents that inflation money will be awarded twice in a week The inflation is distributed once per week, not twice. i don't know how its going to be work in private ...
Orbit Lens's user avatar
  • 6,886
1 vote

Fork stellar to create a new blockchain

1) Setup three stellar-core nodes and configure them in a way that you have your own network passphrase each node writes their own archive each node can read the other nodes archives they include ...
sui's user avatar
  • 2,534
1 vote

Facing issue while syncing nodes when CATCHUP_COMPLETE flag is set to true

Go straight with an example: suppose now, current ledger is #567 CATCHUP_COMPLETE=true -> The node gets data since the very beginning of your private chain, i.e. ledger #1, up to #567 ...
cesarm's user avatar
  • 1,527
1 vote
Accepted

Where is the secret key for the standalone network?

Using the JS-SDK you can do the following: Network.use(new Network(“Standalone Network; February 2017”)); Keypair.master().secret(); // your secret key
Paul's user avatar
  • 1,184
1 vote

Where is the secret key for the standalone network?

The secret seed for the master account is the sha256 hash of the network passphrase. e.g. "Standalone Network ; February 2017". KeyPair.fromSecretSeed(sha256(passphrase.getBytes(UTF_8)))
Synesso's user avatar
  • 3,367
1 vote

How does network passphrase work?

The NETWORK_PASSPHRASE should be made public, because it permutes how transactions are hashed. Since the passphrase determines the private key of the account containing the initial native tokens, ...
user3188445's user avatar
  • 1,221
1 vote

What is the syntax of the 'tx' (transaction) command, to execute a transaction?

A copy of my reply from stackoverflow: After you have executed the steps in your question, stellar will be open to receiving transactions at localhost:8000/tx?blob=Base64 (See commands). You can ...
Synesso's user avatar
  • 3,367
1 vote

HTTP end point error while try to run in Testnet port

I would recommend to start one-by-one with using port 11626 for one node first. If it works, then start the second one at another port. Stellar Core is the part to do network communication. Horizon &...
cesarm's user avatar
  • 1,527
1 vote

What can cause horizon to have incomplete data?

Had the same problem but it seems I figured it out. If you want the full history available on your horizon you need to do the following. Run your stellar-core with CATCHUP_COMPLETE=true. On your ...
marcinx's user avatar
  • 586
1 vote
Accepted

Unable to save data using Horizon on private testnet

The issue was with the Core using an outdated version of the protocol. I had to upgrade the protocol to version 9 by using: stellar-core -c 'upgrades?mode=set&upgradetime=yyyy-mm-ddThh:mm:ss&...
Munawar's user avatar
  • 157
1 vote
Accepted

Cannot transfer money on standalone network

It looks like I hadn't set the passphrase in the code. The tx should look like the following: tx, herr := b.Transaction( b.SourceAccount{AddressOrSeed: from}, b.Network{"Network Passphrase""}...
Ryan's user avatar
  • 241
1 vote

op_bad_signer error when adding sha256 hash signer on Stellar private network

I found solutions by myself. After create Stellar Private Network, We must execute command to upgrade protocolversion to 9. $ stellar-core -c 'upgrades?mode=set&upgradetime=2018-01-31T20:00:00Z&...
Pitchayasak Senachai's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible