Skip to content

Instantly share code, notes, and snippets.

View akashsethi24's full-sized avatar
🎯
Focusing

Akash Sethi akashsethi24

🎯
Focusing
View GitHub Profile
Application: &ApplicationDefaults
Organizations:
Orderer: &OrdererDefaults
OrdererType: solo # Available types are "solo" and "kafka"
Addresses:
- orderer.example.com:7050
BatchTimeout: 2s # Batch Timeout: The amount of time to wait before creating a batch
BatchSize: # Batch Size: Controls the number of messages batched into a block
MaxMessageCount: 10 # Max Message Count: The maximum number of messages to permit in a batch
AbsoluteMaxBytes: 99 MB
Organizations:
- &OrdererOrg
Name: OrdererOrg
ID: OrdererMSP
MSPDir: crypto-config/ordererOrganizations/example.com/msp
- &Org1
Name: Org1MSP
ID: Org1MSP
MSPDir: crypto-config/peerOrganizations/org1.example.com/msp
AnchorPeers:
@akashsethi24
akashsethi24 / Profiles.yaml
Last active December 12, 2017 10:07
Profile Configurations
Profiles:
OneOrgOrdererGenesis:
Orderer:
<<: *OrdererDefaults
Organizations:
- *OrdererOrg
Consortiums:
SampleConsortium:
Organizations:
- *Org1
@akashsethi24
akashsethi24 / gist:2a35463c3c1245583fc9
Created March 12, 2016 04:12 — forked from osipov/gist:c2a34884a647c29765ed
Install Scala and SBT using apt-get on Ubuntu 14.04 or any Debian derivative using apt-get
sudo apt-get remove scala-library scala
sudo wget www.scala-lang.org/files/archive/scala-2.10.4.deb
sudo dpkg -i scala-2.10.4.deb
sudo apt-get update
sudo apt-get install scala
wget http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.12.4/sbt.deb
sudo dpkg -i sbt.deb
sudo apt-get update
sudo apt-get install sbt