Comments (5)
Putting the reset wallet data
function into the network.sh
file seems appropriate to me. I gonna tackle this tomorrow.
from blockchain-carbon-accounting.
That seems to make sense to me as well. I just pushed some changes that added a resetAllData function to remove the wallets and fabric-ca-server dbs, please let me know if there's anything else thats needed for this task.
from blockchain-carbon-accounting.
Great, thanks a lot @michaelbauerinc.
I would add the resetAllData
function to networkDown
. what do you think of this?
networkDown
--> Stop and remove everything for a fresh start
from blockchain-carbon-accounting.
That makes sense to me, except in the case that a developer might want to stop the network without removing data. I believe that if resetAllData was added to networkDown, the only option for that would be to restart docker. Perhaps there could be an argument to networkDown that does not remove data/containers? Or perhaps the default should be not removing data/containers and a "hard" argument could be passed that removes data etc.
from blockchain-carbon-accounting.
@michaelbauerinc good points!
At the moment, networkDown
deletes all docker volumes and removes the orphans network.sh
I like the idea of putting an argument which stands for hard reset or just stopping all container.
Have a look at line 448ff. The following lines aren't correct by now, but we could use them to build a solution.
Do you have time to work on this?
from blockchain-carbon-accounting.
Related Issues (20)
- request emissions audit UI allow other request, supported by document HOT 1
- Add dataLoader scripts for product table HOT 1
- Calculation error for emission factor & unit consistency. HOT 2
- Dynamic loading of node-fetch
- separate deploy js for carbon tracker HOT 2
- remove open zeppelin contract upgradability HOT 1
- Create a MAINTAINERS.md file HOT 1
- Remove upgradability from CarbonTracker HOT 4
- loading of oil and gas data HOT 2
- Using Google travel impact model
- Adopt Typescript 3.0 references and composite tsconfig.json setting?
- Private Key exposure during Wallet signup HOT 4
- scripts and documentation for deploying Fabric chain code using Bevel
- scripts and documentation for deploying Solidity smart contracts to Besu using Bevel
- UI to select multiple data points for an audited emissions certificate HOT 4
- Disallow operations on the network with server side stored private key HOT 14
- deploy solidity contracts locally with bevel scripts HOT 1
- Link to Voluntary Offsets Directory is broken HOT 5
- not able to issue carbon tracker tokens HOT 1
- problem loading oil and gas data HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blockchain-carbon-accounting.