Open SIKOo971 opened 1 year ago
NBitcoin?
@dangershony @sondreb Brothers I tried to implement a consensus factory, for raven coin. but i couldn't understand exactly. will you please help me out.
I Tried https://github.com/team-exor/eiquidus, But there sync in MongoDB is very slow.
Can you share the code?
Sorry brother dont have the code, actually my co-friend developer tried and reinstall operating system. now my all hopes is you @dangershony
Hello @dangershony Is there any hope?
I am pretty busy and I think this task will take a good few days (have to understand how syscoin works) so not in the next few weeks
I am pretty busy and I think this task will take a good few days (have to understand how syscoin works) so not in the next few weeks
Brother Its Revcoin. Not Syscoin! Syscoin Works Fine.
@dangershony RAVENCOIN GIVE ME THIS
fail: Blockcore.Indexer.Core.Sync.SyncTasks.BlockPuller[0] TaskRunner-BlockPuller System.AggregateException: One or more errors occurred. (Specified argument was out of the range of valid values. (Parameter 'Array size not big')) ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'Array size not big') at NBitcoin.Protocol.VarString.ReadWrite(BitcoinStream stream) at NBitcoin.BitcoinStream.ReadWrite(Script data) at NBitcoin.BitcoinStream.ReadWrite(Script& script) at Blockcore.Consensus.TransactionInfo.TxIn.ReadWrite(BitcoinStream stream) at NBitcoin.BitcoinStream.ReadWrite[T](T& data) at NBitcoin.BitcoinStream.ReadWriteArray[T](T[]& data) at NBitcoin.BitcoinStream.ReadWriteList[TList,TItem](TList& data) at Blockcore.Consensus.TransactionInfo.Transaction.ReadWrite(BitcoinStream stream) at NBitcoin.BitcoinStream.ReadWrite[T](T& data) at NBitcoin.BitcoinStream.ReadWriteArray[T](T[]& data) at NBitcoin.BitcoinStream.ReadWriteList[TList,TItem](TList& data) at Blockcore.Consensus.BlockInfo.Block.ReadWrite(BitcoinStream stream) at NBitcoin.BitcoinSerializableExtensions.ReadWrite(IBitcoinSerializable serializable, Byte[] bytes, ConsensusFactory consensusFactory) at Blockcore.Consensus.BlockInfo.Block.Parse(String hex, ConsensusFactory consensusFactory) at Blockcore.Indexer.Core.Sync.SyncOperations.SyncBlockInternal(SyncConnection connection, BlockInfo block) in /root/blockcore-indexer/src/Blockcore.Indexer.Core/Sync/SyncOperations.cs:line 239 at Blockcore.Indexer.Core.Sync.SyncOperations.FetchFullBlock(SyncConnection connection, BlockInfo block) in /root/blockcore-indexer/src/Blockcore.Indexer.Core/Sync/SyncOperations.cs:line 105 at Blockcore.Indexer.Core.Sync.SyncTasks.BlockPuller.FetchBlockAsync(Int64 tip) in /root/blockcore-indexer/src/Blockcore.Indexer.Core/Sync/SyncTasks/BlockPuller.cs:line 192 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(Task[] tasks) at Blockcore.Indexer.Core.Sync.SyncTasks.BlockPuller.OnExecute() in /root/blockcore-indexer/src/Blockcore.Indexer.Core/Sync/SyncTasks/BlockPuller.cs:line 134
This is a serialisation error. I am intrigued now... Let me try to look at this, maybe tomorrow.
ok brother i will wait. thank you @dangershony
@dangershony Hello Brother, How are you! Have you tried? 5 days back you said to me you will try that day. is there any news?
No sorry my time is limited, can you share a TRX byte code that was used to get that serialization error? Can you also share the repo where this coins is used?
The Indexer software parses Blocks and Transactions and if those are in any shape or form different than Bitcoin, then modifications must be done to the indexer software. That's what the consensus factory is used for.
To add support for custom blockchains that are based off Bitcoin, but has been modified, then specification for the Block and/or Transaction format must be known and code modified.
Normally developers from different blockchain teams will provide that development support.
Hello @sondreb @dangershony Brothers. Can we able to create syscoin block explorer?