You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 lines
842 B

8 years ago
#!/bin/bash
curl --url "http://127.0.0.1:7778" --data "{\"RELAY\":1,\"VALIDATE\":1,\"prefetchlag\":-1,\"poll\":10,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"maxpeers\":256,\"newcoin\":\"VRC\",\"name\":\"VeriCoin\",\"netmagic\":\"70352205\",\"p2p\":58684,\"rpc\":58683,\"pubval\":70,\"p2shval\":132,\"wifval\":153,\"txfee_satoshis\":\"10000\",\"minconfirms\":10,\"genesishash\":\"000004da58a02be894a6c916d349fe23cc29e21972cafb86b5d3f07c4b8e6bb8\",\"genesis\":{\"hashalgo\":\"scrypt\",\"version\":1,\"timestamp\":1399690945,\"nBits\":\"1e0fffff\",\"nonce\":612416,\"merkle_root\":\"60424046d38de827de0ed1a20a351aa7f3557e3e1d3df6bfb34a94bc6161ec68\"},\"alertpubkey\":\"047eba500c7134efcaf721e9f438f25b948ceaa5f059b877b3a64f6fa2cf0ea6f41091bd9b1ff9448727db97e4ad44d49496dc41949c677c49fe632d1d7996a515\",\"isPoS\":1,\"debug\":1}"