IBM-Blockchain-Archive / marbles

WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Apache License 2.0
1.03k stars 979 forks source link

Number of marbles created when creating a new user #179

Closed AmarjitDatta closed 6 years ago

AmarjitDatta commented 6 years ago

Hi, Thank you for this application. It is really useful. I have a quick question. When we create a new user, it creates 3 marbles for each user. How can we control this? Can you tell me the file whether this parameter is configured?

I want to investigate a situation when each user will not have zero marble.

dshuffma-ibm commented 6 years ago

check out app.js line 308.

There is an array that has 1 entry per marble, per marble owner. Then we use line 318, async.each(marbles....), to create each marble asynchronously.