游戏开发专案周报
本阶段工作完成情况
《星河曙光》新玩法【新手任务】构建完成,进入最后测试阶段。《星河曙光》新玩法【首充大礼包】构建完成,进入最后测试阶段。《星河曙光》新玩法【玩家新手引导】构建完成,进入最后测试阶段。《星河曙光》UI已重构完成。《星河曙光》部分页面显示问题及已知BUG修复。《星河曙光》新家园氪星玩法1.0功能持续构建。
下阶段计划
《星河曙光》2.4.1版本上线。《星河曙光》贸易港功能扩充套件,贸易港内UI排版调整。《星河曙光》将上架一款副本游戏。《星河曙光》新家园氪星玩法1.0构建及测试。《星河曙光》新家园氪星玩法在现有构建基础上持续优化、开发。《星河曙光》对游戏体验、部分互动、副本游戏等进行更深入的优化。
技术开发进度
// NewTxPool creates a new transaction pool to gather, sort and filter inbound
// trnsactions from the network.
func NewTxPool(config TxPoolConfig, chainconfig
*params.ChainConfig, chain blockChain) *TxPool {
// Sanitize the input to ensure no vulnerable gas prices are set
config = (&config).sanitize()
// Create the transaction pool with its initial settings
pool := &TxPool{
config: config,
chainconfig: chainconfig,
chain: chain,
signer: types.NewEIP155Signer(chainconfig.ChainId),
pending: make(map[common.Address]*txList),
queue: make(map[common.Address]*txList),
beats: make(map[common.Address]time.Time),
all: make(map[common.Hash]*types.Transaction),
chainHeadCh: make(chan ChainHeadEvent, chainHeadChanSize),
gasPrice: new(big.Int).SetUint64(config.PriceLimit),
}
pool.locals = newAccountSet(pool.signer)
pool.priced = newTxPricedList(&pool.all)
pool.reset(nil, chain.CurrentBlock().Header())
//
if !config.NoLocals && config.Journal != "" {
pool.journal = newTxJournal(config.Journal)
if err := pool.journal.load(pool.AddLocal); err != nil {
log.Warn("Failed to load transaction journal", "err", err)
}
if err := pool.journal.rotate(pool.local()); err != nil {
log.Warn("Failed to rotate transaction journal", "err", err)
}
}
// Subscribe events from blockchain
pool.chainHeadSub =
pool.chain.SubscribeChainHeadEvent(pool.chainHeadCh)
// Start the event loop and return
pool.wg.Add(1)
go pool.loop()
return pool
}
《星河曙光》同名小说持续更新中,欢迎大家关注留言!