Giter Site home page Giter Site logo

hcashd's People

Contributors

chaoguodeng avatar fanlq avatar rev-chaos avatar seienk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hcashd's Issues

无法同步区块

我昨天同步到一半时关掉了客户端, 今天等了很久都没同步, 重启也无效, 要如何解决?
2017-12-19_10-18-42

用户地址存在什么位置

用的非图形化版本,hcashd以后是不是就自动生成地址啊,还是要new一个账户啊?
命令行,账户地址和秘钥如何设置啊?

??

This is a bad bet, the development progress is like a snail

今天去看了看EOS的代码库,回头来看看我们曾经的信仰

我们曾经相信团队可以做事可是现在看到的是团队碌碌无为,还在哪里说社区贡献人数少,那你们为什么众筹呢,众筹给你的篇是干嘛的呢?是让你们做开发,做社区维护是为我们的信仰去服务的。到现在你们敢公开社区当时众筹资金的开支证明吗?敢胖社区投票律师事务所监督嘛?敢胖他们做一次审查吗??说了这么多你敢做那一件事?我失望了我放弃了

安装CLI版本代码错误

CLI版本安装老出问题,眼下报了一个错好像是代码有错

`github.com/HcashOrg/hcashwallet$ go install $(glide nv)

github.com/HcashOrg/hcashwallet/wallet/udb

wallet/udb/addressmanager.go:444: acctKey.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/addressmanager.go:677: acctXpriv.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/addressmanager.go:679: acctXpriv.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/addressmanager.go:1625: too many arguments in call to xpubChild.Address
have (*chaincfg.Params, uint8)
want (*chaincfg.Params)
wallet/udb/addressmanager.go:1656: too many arguments in call to xpubChild.Address
have (*chaincfg.Params, uint8)
want (*chaincfg.Params)
wallet/udb/addressmanager.go:2246: coinTypeKey.SwitchChild undefined (type *hdkeychain.ExtendedKey has no field or method SwitchChild)
wallet/udb/upgrades.go:182: xpub.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/upgrades.go:194: xpub.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/upgrades.go:213: xpub.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/upgrades.go:223: xpub.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/upgrades.go:223: too many errors`

Overly broad file permissions

database/ffldb/blockio.go

func (s *blockStore) openWriteFile(fileNum uint32) (filer, error) {
	// The current block file needs to be read-write so it is possible to
	// append to it.  Also, it shouldn't be part of the least recently used
	// file.
	filePath := blockFilePath(s.basePath, fileNum)
	file, err := os.OpenFile(filePath, os.O_RDWR|os.O_CREATE, 0666) // HERE
	if err != nil {
		str := fmt.Sprintf("failed to open file %q: %v", filePath, err)
		return nil, makeDbErr(database.ErrDriverSpecific, str, err)
	}

	return file, nil
}

Should be 0640 or 0660, but 0666 lets anyone r/w to the file called via openWriteFile() on the local system.

能不能赶紧给老子涨

麻蛋,啥时候能完善下吗?都跑路了吗?

// Commands that are currently unimplemented, but should ultimately be.
var rpcUnimplemented = map[string]struct{}{
"estimatefee": {},
"estimatepriority": {},
"getblocktemplate": {},
"getblockchaininfo": {},
"getchaintips": {},
"getnetworkinfo": {},
}

Transaction Speeds?

Hello,

I have recently come across hcash and am looking to explore it more, but was trying to determine if it is a PoW, or PoS, setup as it seems that it can be mined based upon the README information.

Also, I would be interested to know what is the highest TPS (Transactions Per Second) that have been measured in stress tests?

Thanks

httpclient skips cert check for TLS

cmd/hcashctl/httpclient.go

// Configure TLS if needed.
[.............]
		pool := x509.NewCertPool()
		if ok := pool.AppendCertsFromPEM(pem); !ok {
			return nil, fmt.Errorf("invalid certificate file: %v",
				cfg.RPCCert)
		}
		tlsConfig = &tls.Config{
			RootCAs:            pool,
			InsecureSkipVerify: cfg.TLSSkipVerify, // HERE
		}
	}

This opens up MITM attacks as the certificate is not checked. If you all choose to accept this risk, or fix it using a proper certificate, it at least should be noted in the comments of the code or documentation.

// InsecureSkipVerify controls whether a client verifies the
// server's certificate chain and host name.
// If InsecureSkipVerify is true, TLS accepts any certificate
// presented by the server and any host name in that certificate.
// In this mode, TLS is susceptible to man-in-the-middle attacks.
// This should be used only for testing.
InsecureSkipVerify bool

References:
https://golang.org/pkg/crypto/tls/
https://info.checkmarx.com/hubfs/GOwhitepaper0504.pdf

Hypercash's algo?

Hypercash's algo is the same as HSR? or is it Blake256 algo? Please confirm exact algo being used by HC for mining blocks?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.