wiki's People
Forkers
sebas2424 kevcjones-archived morristech veerxd kevinmarchese bitmakler073 antwill88 zgrk nguyenhuynhphuccs1994 tsurg zhoudaqing huming0618 rovak smunx ybhgenius heczzots lelayf cryptify jacastelo jingyiwaaang iircaz55 oceanfanfan justpassingthrough ruizhaoz1 geek4it ghostwg cryptospaces ironbeeper cryptonatorfr parsifal1984 pchaozhong findpaul merlino5000 siyingpeng benaus bitsavage0202 pierre56 oneluckyduck ingestrul rahulsarkar1992 stevekimdev1 hatgit us-dev melissa520 abbe-aldo huantom maxmako bkcho-wizbl huzhenyuan leahnoah terrorizer1980 pinkdiamond1wiki's Issues
Node.js Pls....
Could it work in Node.js?
Roadmap for translations
For now, there should be at least two languages of the Wiki. One in English and one in Mandarin.
generateAddress
Hello!
-
In Tronscan API there is Solidity GRPC API. Does it some outdated functional?
-
What algorithm is used for generate address? And how can i check the address is valid? except for get exception when use api - /api/account/{address}
In tronprotocol/wallet-cli i find next -
The account address is calculated by the public key sha3-256, and taking the last 20 bytes
but when i generate address at website tronscan.org it have 34 bytes length, and in method validateAddress the address length is checked and compared with const equal 21.
int ADDRESS_SIZE = 21;
tronprotocol/wallet-cli use next constants
byte ADD_PRE_FIX_BYTE_MAINNET = (byte) 0x41; //41 + address
byte ADD_PRE_FIX_BYTE_TESTNET = (byte) 0xa0; //a0 + address
but address from website is T..... (start from 'T' byte, it's 0x54)
I'm confused
prevent direct push to master
no one should be able to push directly to master branch. the workflow should be as follows:
- create a branch or a forked branch and publish your change
- create a pr from new branch against master branch
- this will eventually trigger intermediate verification in travis-ci (currently peer review)
- only after build confirmed and reviewed we agree to merge into master
- merge into master will trigger rebuild and republish by RTD engine
task: can we verify no one can push directly to master and only through a PR?
Facing issue on build creation
Creating build for the testnet but it shows the error, tried all the possible but not succeed:
org.tron.core.db.api.StoreAPITest > classMethod FAILED
java.lang.ExceptionInInitializerError
Caused by:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'blockIndex' defined in file [/home/rahul/Documents/bblab/java-tron/build/classes/java/main/org/tron/core/db/api/index/BlockIndex.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.tron.core.db2.core.ITronChainBase]: : Error creating bean with name 'blockStore': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.tron.core.db.api.IndexHelper org.tron.core.db.TronStoreWithRevoking.indexHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blockStore': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.tron.core.db.api.IndexHelper org.tron.core.db.TronStoreWithRevoking.indexHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)
at org.tron.common.application.TronApplicationContext.<init>(TronApplicationContext.java:17)
at org.tron.core.db.api.StoreAPITest.<clinit>(StoreAPITest.java:111)
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blockStore': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.tron.core.db.api.IndexHelper org.tron.core.db.TronStoreWithRevoking.indexHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
... 15 more
Caused by:
org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.tron.core.db.api.IndexHelper org.tron.core.db.TronStoreWithRevoking.indexHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 27 more
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:311)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543)
... 29 more
Caused by:
org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.beforeSingletonCreation(DefaultSingletonBeanRegistry.java:347)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:512)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:486)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:615)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308)
... 40 more
org.tron.core.db.api.StoreAPITest > classMethod FAILED
java.lang.NoClassDefFoundError: Could not initialize class org.tron.core.db.api.StoreAPITest
org.tron.core.db.api.IndexHelperTest > classMethod FAILED
java.lang.ExceptionInInitializerError
Caused by:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'blockIndex' defined in file [/home/rahul/Documents/bblab/java-tron/build/classes/java/main/org/tron/core/db/api/index/BlockIndex.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.tron.core.db2.core.ITronChainBase]: : Error creating bean with name 'blockStore': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.tron.core.db.api.IndexHelper org.tron.core.db.TronStoreWithRevoking.indexHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blockStore': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.tron.core.db.api.IndexHelper org.tron.core.db.TronStoreWithRevoking.indexHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)
at org.tron.common.application.TronApplicationContext.<init>(TronApplicationContext.java:17)
at org.tron.core.db.api.IndexHelperTest.<clinit>(IndexHelperTest.java:50)
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blockStore': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.tron.core.db.api.IndexHelper org.tron.core.db.TronStoreWithRevoking.indexHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
... 15 more
Caused by:
org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.tron.core.db.api.IndexHelper org.tron.core.db.TronStoreWithRevoking.indexHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 27 more
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:311)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543)
... 29 more
Caused by:
org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.beforeSingletonCreation(DefaultSingletonBeanRegistry.java:347)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:512)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:486)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:615)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308)
... 40 more
org.tron.core.db.api.IndexHelperTest > classMethod FAILED
java.lang.NoClassDefFoundError: Could not initialize class org.tron.core.db.api.IndexHelperTest
org.tron.core.db.RevokingStoreTest > testPop FAILED
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'blockIndex' defined in file [/home/rahul/Documents/bblab/java-tron/build/classes/java/main/org/tron/core/db/api/index/BlockIndex.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.tron.core.db2.core.ITronChainBase]: : Error creating bean with name 'blockStore': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.tron.core.db.api.IndexHelper org.tron.core.db.TronStoreWithRevoking.indexHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blockStore': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.tron.core.db.api.IndexHelper org.tron.core.db.TronStoreWithRevoking.indexHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.(AnnotationConfigApplicationContext.java:84)
at org.tron.common.application.TronApplicationContext.(TronApplicationContext.java:17)
at org.tron.core.db.RevokingStoreTest.init(RevokingStoreTest.java:39)
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blockStore': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.tron.core.db.api.IndexHelper org.tron.core.db.TronStoreWithRevoking.indexHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
... 15 more
Caused by:
org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.tron.core.db.api.IndexHelper org.tron.core.db.TronStoreWithRevoking.indexHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 27 more
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexHelper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:311)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543)
... 29 more
Caused by:
org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'blockIndex': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.beforeSingletonCreation(DefaultSingletonBeanRegistry.java:347)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:512)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:486)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:615)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308)
... 40 more
java.lang.NullPointerException
at org.tron.core.db.RevokingStoreTest.removeDb(RevokingStoreTest.java:48)
org.tron.core.db.RevokingStoreTest > testUndo FAILED
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'blockIndex' defined in file [/home/rahul/Documents/bblab/java-tron/build/classes/java/main/org/tron/core/db/api/index/BlockIndex.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.tron.core.db2.core.ITronChainBase]: : Error creating bean with name 'blockStore' defined in file [/home/rahul/Documents/bblab/java-tron/build/classes/java/main/org/tron/core/db/BlockStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.tron.core.db.BlockStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: Can't initialize database; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blockStore' defined in file [/home/rahul/Documents/bblab/java-tron/build/classes/java/main/org/tron/core/db/BlockStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.tron.core.db.BlockStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: Can't initialize database
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.(AnnotationConfigApplicationContext.java:84)
at org.tron.common.application.TronApplicationContext.(TronApplicationContext.java:17)
at org.tron.core.db.RevokingStoreTest.init(RevokingStoreTest.java:39)
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blockStore' defined in file [/home/rahul/Documents/bblab/java-tron/build/classes/java/main/org/tron/core/db/BlockStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.tron.core.db.BlockStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: Can't initialize database
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
... 15 more
Caused by:
org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.tron.core.db.BlockStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: Can't initialize database
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
... 28 more
Caused by:
java.lang.RuntimeException: Can't initialize database
at org.tron.common.storage.leveldb.LevelDbDataSourceImpl.initDB(LevelDbDataSourceImpl.java:92)
at org.tron.core.db2.core.RevokingDBWithCachingOldValue.<init>(RevokingDBWithCachingOldValue.java:28)
at org.tron.core.db2.core.RevokingDBWithCachingOldValue.<init>(RevokingDBWithCachingOldValue.java:22)
at org.tron.core.db.TronStoreWithRevoking.<init>(TronStoreWithRevoking.java:42)
at org.tron.core.db.BlockStore.<init>(BlockStore.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 30 more
Caused by:
org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: lock /home/rahul/Documents/bblab/java-tron/output_revokingStore_test/database/block/LOCK: already held by process
at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
at org.tron.common.storage.leveldb.LevelDbDataSourceImpl.openDatabase(LevelDbDataSourceImpl.java:105)
at org.tron.common.storage.leveldb.LevelDbDataSourceImpl.initDB(LevelDbDataSourceImpl.java:89)
... 39 more
java.lang.NullPointerException
at org.tron.core.db.RevokingStoreTest.removeDb(RevokingStoreTest.java:48)
org.tron.core.db.RevokingStoreTest > shutdown FAILED
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'blockIndex' defined in file [/home/rahul/Documents/bblab/java-tron/build/classes/java/main/org/tron/core/db/api/index/BlockIndex.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.tron.core.db2.core.ITronChainBase]: : Error creating bean with name 'blockStore' defined in file [/home/rahul/Documents/bblab/java-tron/build/classes/java/main/org/tron/core/db/BlockStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.tron.core.db.BlockStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: Can't initialize database; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blockStore' defined in file [/home/rahul/Documents/bblab/java-tron/build/classes/java/main/org/tron/core/db/BlockStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.tron.core.db.BlockStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: Can't initialize database
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.(AnnotationConfigApplicationContext.java:84)
at org.tron.common.application.TronApplicationContext.(TronApplicationContext.java:17)
at org.tron.core.db.RevokingStoreTest.init(RevokingStoreTest.java:39)
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blockStore' defined in file [/home/rahul/Documents/bblab/java-tron/build/classes/java/main/org/tron/core/db/BlockStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.tron.core.db.BlockStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: Can't initialize database
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
... 15 more
Caused by:
org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.tron.core.db.BlockStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: Can't initialize database
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
... 28 more
Caused by:
java.lang.RuntimeException: Can't initialize database
at org.tron.common.storage.leveldb.LevelDbDataSourceImpl.initDB(LevelDbDataSourceImpl.java:92)
at org.tron.core.db2.core.RevokingDBWithCachingOldValue.<init>(RevokingDBWithCachingOldValue.java:28)
at org.tron.core.db2.core.RevokingDBWithCachingOldValue.<init>(RevokingDBWithCachingOldValue.java:22)
at org.tron.core.db.TronStoreWithRevoking.<init>(TronStoreWithRevoking.java:42)
at org.tron.core.db.BlockStore.<init>(BlockStore.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 30 more
Caused by:
org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: lock /home/rahul/Documents/bblab/java-tron/output_revokingStore_test/database/block/LOCK: already held by process
at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
at org.tron.common.storage.leveldb.LevelDbDataSourceImpl.openDatabase(LevelDbDataSourceImpl.java:105)
at org.tron.common.storage.leveldb.LevelDbDataSourceImpl.initDB(LevelDbDataSourceImpl.java:89)
... 39 more
java.lang.NullPointerException
at org.tron.core.db.RevokingStoreTest.removeDb(RevokingStoreTest.java:48)
Adding .NET development project
I have started working a .NET version of the protocol. Adding all the grpc calls and first version of address generation and transaction signing.
The code can be accessed here
https://github.com/griffo-io/tron.net
I would like also this to participate in the Tron's incentive program.
What are the required steps for this?
Plan to maintain a full fledge wiki instead of markdown documentation
Continued from tronprotocol/java-tron#22
CNAME
wiki.tron.network (or other agreed domain) add CNAME record pointing to readthedocs.io.
Glitch? Tron Wallet two addresses
Hi Tron Team - I've found a glitch perhaps?
When I create a wallet at debug.tronlab.com vs. www.tronlab.com they are giving me two different tron deposit wallet addresses (someone linked me to the debug site first). Tron.network gave me the same deposit address as www.tronlab.com. The only deposit address that is NOT the same is debug.tronlab.com.
So I created account, did a deposit (to debug.tronlab.com) and the deposit is NOT showing in the account. Is the debug website not functioning properly to recognize the deposit? Who can I contact to resolve issue? I couldn't find any Tron team members to email.
Thanks
lombok plugin must installed before running 'FullNode.main()' In IntelliJ IDEA
What is the problem?
In IntelliJ IDEA
After the building finishes, locate FullNode in the project structure view panel, which is on the path java-tron/src/main/java/org.tron/program/FullNode.
Select FullNode, right click on it, and select Run 'FullNode.main(), then FullNod starts running.
compile error, field "logger" is not declare
How do you reproduce this problem?
Install lombok plugin。
File -> Plugins, type "lombok" and Click "Browse repositories".
find it and install
add readme.md from java-tron into wiki
- create future branch and map rtd so we can do previews
- java-tron is using images from wiki repo, for now not moving making copy into /docs/img/ so we don't break any outside references
- use tron-java readme.md to create QuickStart page. redesign for Sphinx, add images
- add contributions page
- update images on the introduction page (fix file names from numerical to meaningful)
this is work in progress until its closed. preview of new site can be viewed here http://wiki.tron.network/en/future/quick_start.html
How does the TVM work?
Hi Tron team ( @sasaxie ), thanks for providing some docs on TRON. I've read the introduction and I've got some questions regarding how the TVM works.
"The TVM boots very fast, occupies less resources"
Okay, how does it do that?
"The TRON Network plans to charge for the operation and storage of tokens and smart contracts to achieve economic incentives to book-keeping persons and to prevent the abuse of resources"
Is that how the TVM going to determine smart contract termination (similar to EVM)?
"TRON has a life cycle for smart contracts management, respectively are: the establishment, deployment, development, rollback, termination"
What triggers the rollback stage? can you provide example executions of a sample smart contract running in the TVM?
Finally, how many TPS can TVM do?
Missing the roadmap for translations
I can help translate the documentation into Arabic and Spanish, the Arab world is made up of more than 20 countries, it would be very interesting to do a translation, I will gladly take care of the translation
RTD repoint latest wiki to build master instead of temp branch
First build of the wiki was done from a temporary branch as there was no significant data in the master branch. After a merge to master it is required we repoint from temp branch to master.
TVM Architecture picture not opening in all browsers (Chrome only reporting 404).
What is the problem?
The TVM image link cannot be open guess because the filename is in Chinese language and failing in international lang OS/Browsers.
How do you reproduce this problem?
Check the link in the documentation it gets escaped like:
https://raw.githubusercontent.com/ybhgenius/wiki/master/docs/img/Virtual_Machine/%E8%99%9A%E6%8B%9F%E6%9C%BA.png
Additional information:
minor typo in TRX.rst
What is the problem?
It is used to vote for super representatives and to get bandwide.
Also, he will get bandwide paid for transactions which is calculated by amount of frozen balance * days * constant.
Minimal denomination of TRX is sun. 1 TRX equals 1,000,000 sun. 1 sun frozen got 1 bandwide point.
It looks like bandwide is typo error. isn't it? bandwidth would be better choice to make it clear.
How do you reproduce this problem?
https://tron-wiki.readthedocs.io/en/latest/TRX.html
search keyword bandwide
Additional information:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.